Advertisement
Guest User

Untitled

a guest
Nov 11th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. version: '3.1'
  2. services:
  3. rdm:
  4. image: 0815flo/realdevicemap-beta:latest
  5. container_name: realdevicemap
  6. restart: unless-stopped
  7. tty: true
  8. depends_on:
  9. - rdmdb
  10. volumes:
  11. - ./rdm-images:/perfect-deployed/realdevicemap/resources/webroot/static/img
  12. - ./localtime:/etc/localtime:ro
  13. ports:
  14. - 9000:9000
  15. - 9001:9001
  16. environment:
  17. DB_DATABASE: rdmdb
  18. DB_HOST: rdmdb
  19. DB_PORT: 3306
  20. DB_USERNAME: rdmuser
  21. DB_PASSWORD: poopinabox
  22. WEB_SERVER_ADDRESS: 0.0.0.0
  23. WEB_SERVER_PORT: 9000
  24. WEBHOOK_SERVER_ADDRESS: 0.0.0.0
  25. WEBHOOK_SERVER_PORT: 9001
  26. TZ: America/New_York # offset = -05:00 / DST -04:00
  27. rdmdb:
  28. image: mysql
  29. command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
  30. container_name: realdevicemap-db
  31. restart: unless-stopped
  32. environment:
  33. MYSQL_ROOT_PASSWORD: YourStrongRootPassw0rd!
  34. MYSQL_DATABASE: rdmdb
  35. MYSQL_USER: rdmuser
  36. MYSQL_PASSWORD: poopinabox
  37. TZ: America/New_York # offset = -05:00 / DST -04:00
  38. ports:
  39. - 3307:3306
  40. volumes:
  41. - ./rdmdb-data:/var/lib/mysql
  42. - ./rdmdb-export:/tmp/rdmdb-export
  43. - ./localtime:/etc/localtime:ro
  44. novabot:
  45. image: 0815flo/novabot:latest
  46. container_name: novabot
  47. restart: unless-stopped
  48. tty: true
  49. depends_on:
  50. - novabotdb
  51. volumes:
  52. - ./novabot-config:/novabot/data
  53. - ./localtime:/etc/localtime:ro
  54. ports:
  55. - 8089:8080
  56. environment:
  57. TZ: America/New_York # offset = -05:00 / DST -04:00
  58. novabotdb:
  59. image: mysql
  60. command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
  61. container_name: novabot-db
  62. restart: unless-stopped
  63. environment:
  64. MYSQL_ROOT_PASSWORD: YourStrongRootPassw0rd!
  65. MYSQL_DATABASE: novabotdb
  66. MYSQL_USER: novabotuser
  67. MYSQL_PASSWORD: poopinabox
  68. TZ: America/New_York # offset = -05:00 / DST -04:00
  69. ports:
  70. - 3308:3306
  71. volumes:
  72. - ./novabotdb-docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
  73. - ./novabotdb-data:/var/lib/mysql
  74. - ./rdmdb-export:/tmp/rdmdb-export
  75. - ./localtime:/etc/localtime:ro
  76. volumes:
  77. rdm-images:
  78. driver: local
  79. rdmdb-data:
  80. driver: local
  81. rdmdb-export:
  82. driver: local
  83. novabotdb-docker-entrypoint-initdb.d:
  84. driver: local
  85. novabot-config:
  86. driver: local
  87. novabotdb-data:
  88. driver: local
  89. novabotdb-export:
  90. driver: local
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement