Advertisement
Guest User

Untitled

a guest
Dec 13th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. version: '3.1'
  2. services:
  3. rdm:
  4. image: realdevicemap/realdevicemap-beta:latest
  5. container_name: realdevicemap
  6. restart: unless-stopped
  7. tty: true
  8. depends_on:
  9. - db
  10. volumes:
  11. - /Users/felix/compose/rdm/rdm_images:/perfect-deployed/realdevicemap/resources/webroot/static/img
  12. - backups:/perfect-deployed/realdevicemap/backups
  13. # - /etc/localtime:/etc/localtime:ro
  14. ports:
  15. - 9000:9000
  16. - 9001:9001
  17. environment:
  18. DB_DATABASE: rdmdb
  19. DB_HOST: db
  20. DB_PORT: 3306
  21. DB_USERNAME: pogodus
  22. DB_PASSWORD: MYPASSWORD
  23. DB_ROOT_USERNAME: root
  24. DB_ROOT_PASSWORD: MYPASSWORD
  25. WEB_SERVER_ADDRESS: 0.0.0.0
  26. WEB_SERVER_PORT: 9000
  27. WEBHOOK_SERVER_ADDRESS: 0.0.0.0
  28. WEBHOOK_SERVER_PORT: 9001
  29. db:
  30. image: mysql
  31. command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --default-authentication-plugin=mysql_native_password
  32. container_name: realdevicemap-db
  33. restart: unless-stopped
  34. environment:
  35. MYSQL_ROOT_PASSWORD: MYPASSWORD
  36. MYSQL_DATABASE: rdmdb
  37. MYSQL_USER: pogodus
  38. MYSQL_PASSWORD: MYPASSWORD
  39. ports:
  40. - 3306:3306
  41. volumes:
  42. - data:/var/lib/mysql
  43. # - /etc/localtime:/etc/localtime:ro
  44. volumes:
  45. images:
  46. driver: local
  47. backups:
  48. driver: local
  49. data:
  50. driver: local
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement