version: '2'
services:
rabbitmq:
image: rabbitmq:latest
restart: always
networks:
- front_bridge
ports:
- "5671"
- "5672"
postgres_test:
image: ********:postgres-test
restart: always
networks:
- front_bridge
ports:
- "32799:5433"
postgres_history:
image: ********:postgres-dev-2
restart: always
networks:
- front_bridge
ports:
- "32798:5432"
postgres_report:
image: ********:postgres-dev-2
restart: always
networks:
- front_bridge
ports:
- "32797:5432"
postgres_oms:
image: ********:postgres-dev-1
restart: always
volumes:
- ../dlvr:/oms
links:
- postgres_history
- postgres_report
- postgres_test
networks:
- front_bridge
ports:
- "32800:5432"
nginxoms:
image: ********:nginxoms-v2
volumes:
- ../dlvr:/oms
links:
- postgres_oms
- php_oms
- postgres_test
ports:
- "8000:8080"
networks:
- front_bridge
restart: always
php_oms:
image: ********:php-fpm-v21-mail-git
restart: always
volumes:
- ../dlvr:/oms
networks:
- front_bridge
ports:
- "587:587"
environment:
- environment=oms
postgres_cc:
image: **********:postgres-dev-1
restart: always
volumes:
- ../contact-center:/cc
networks:
- front_bridge
ports:
- "32787:5432"
nginxcc:
image: ********:nginxcc-v2
volumes:
- ../contact-center:/cc
links:
- postgres_cc
- php_cc
- postgres_test
ports:
- "8002:8080"
networks:
- front_bridge
restart: always
php_cc:
image: ********:php-fpm-v21-git
links:
- postgres_cc
- postgres_history
- postgres_report
- postgres_test
restart: always
volumes:
- ../contact-center:/cc
networks:
- front_bridge
ports:
- "9000"
environment:
- environment=cc
postgres_rest:
image: ********:postgres-dev-1
restart: always
volumes:
- ../restaurant:/restaurant
networks:
- front_bridge
ports:
- "32786:5432"
nginxrest:
image: ********:nginxrest-v2
volumes:
- ../restaurant:/restaurant
links:
- postgres_rest
- php_rest
- postgres_test
ports:
- "8001:8080"
networks:
- front_bridge
restart: always
php_rest:
image: ********:php-fpm-v21-git
links:
- postgres_rest
- postgres_history
- postgres_report
- postgres_test
restart: always
volumes:
- ../restaurant:/restaurant
networks:
- front_bridge
ports:
- "9000"
environment:
- environment=restaurant
networks:
front_bridge:
driver: bridge
volumes:
restvolume:
ccvolume:
omsvolume: