Advertisement
Guest User

Untitled

a guest
Mar 4th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. version: '2'
  2. services:
  3. app:
  4. image: index.exp.railsc.ru/marvin/app
  5. privileged: true
  6. restart: always
  7. volumes:
  8. - "/home/marvin/marvin:/home/app/marvin"
  9. environment:
  10. RAILS_ENV: development
  11. UNICORN_WORKERS: 1
  12. DATABASE_SETUP: 'true'
  13. ports:
  14. - "185.15.172.254:8887:8887"
  15. labels:
  16. com.zabbix.enabled: "true"
  17. links:
  18. - "db"
  19.  
  20. auth:
  21. image: index.exp.railsc.ru/marvin/app
  22. privileged: true
  23. restart: always
  24. volumes:
  25. - "/home/marvin/marvin-auth:/home/app/marvin"
  26. environment:
  27. RAILS_ENV: development
  28. UNICORN_WORKERS: 1
  29. DATABASE_SETUP: 'true'
  30. ports:
  31. - "185.15.172.254:8889:8887"
  32. labels:
  33. com.zabbix.enabled: "true"
  34. links:
  35. - "db"
  36.  
  37. db:
  38. restart: always
  39. image: postgres:9.5
  40. environment:
  41. POSTGRES_PASSWORD: docker
  42. POSTGRES_USER: docker
  43. ports:
  44. - 5432:5432
  45. volumes:
  46. - ../db/postgresql:/var/lib/postgresql/data
  47.  
  48. redis:
  49. restart: always
  50. image: redis:4
  51. ports:
  52. - 6379:6379
  53. volumes:
  54. - ../db/redis:/data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement