Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. version: '3'
  2. services:
  3. redis:
  4. image: 'redis:latest'
  5. hostname: redis
  6. ports:
  7. - '6379:6379'
  8. networks:
  9. - redis
  10. elasticmq:
  11. build:
  12. context: elasticMq
  13. hostname: elasticmq
  14. ports:
  15. - '9324:9324'
  16. networks:
  17. - elasticmq
  18. mysql:
  19. image: 'mysql:5.7'
  20. environment:
  21. MYSQL_DATABASE: ikom_dev
  22. MYSQL_USER: ikom
  23. MYSQL_PASSWORD: ikom
  24. MYSQL_ROOT_PASSWORD: ikom
  25. ports:
  26. - '3306:3306'
  27. volumes:
  28. - mysql_adgroup_status_switcher_data:/var/lib/mysql
  29. networks:
  30. - mysql
  31. ms_adgroup_status_switcher_worker:
  32. build: .
  33. container_name: ms_adgroup_status_switcher_worker
  34. networks:
  35. - adgroup_status_switcher_worker
  36. - redis
  37. - elasticmq
  38. - mysql
  39. environment:
  40. SYMFONY_ENV: dev
  41. volumes:
  42. - './app:/var/www/html/src:rw'
  43. labels:
  44. com.project_type: "worker"
  45. depends_on:
  46. - mysql
  47. - elasticmq
  48. - redis
  49. ms_adgroup_status_switcher_worker_production_test:
  50. build:
  51. context: .
  52. dockerfile: Dockerfile.production.producer
  53. container_name: ms_adgroup_status_switcher_worker_production_test
  54. networks:
  55. - adgroup_status_switcher_worker
  56. - redis
  57. - elasticmq
  58. - mysql
  59. environment:
  60. SYMFONY_ENV: dev
  61. volumes:
  62. - './app:/var/www/html/src:rw'
  63. labels:
  64. com.project_type: "worker"
  65. depends_on:
  66. - mysql
  67. - elasticmq
  68. - redis
  69. networks:
  70. adgroup_status_switcher_worker: null
  71. redis: null
  72. elasticmq: null
  73. mysql: null
  74. volumes:
  75. mysql_adgroup_status_switcher_data:
  76. driver: local
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement