Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2.1'
- services:
- app:
- build:
- context: .
- args:
- VERSION: ${VERSION}
- BUILD: ${BUILD}
- env_file:
- - app.env
- environment:
- SERVICE_PUBLIC_NAME: ${NAME}
- ports:
- - '3000:3000'
- depends_on:
- redis:
- condition: service_started
- db:
- condition: service_started
- queue:
- condition: service_healthy
- redis:
- image: redis
- db:
- image: postgres
- networks:
- - internal
- expose:
- - 3306
- environment:
- POSTGRES_USER: root
- POSTGRES_PASSWORD: root
- POSTGRES_DB: root
- queue:
- image: rabbitmq
- hostname: 'queue'
- healthcheck:
- test: rabbitmqctl status
- interval: 15s
- timeout: 10s
- networks:
- internal:
- driver: bridge
- internal: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement