Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.9'
- services:
- app:
- build: .
- ports:
- - "8080:8080"
- depends_on:
- rabbitmq:
- condition: service_healthy
- rabbitmq:
- image: "rabbitmq:3-management"
- hostname: "rabbit"
- environment:
- RABBITMQ_DEFAULT_USER: dev
- RABBITMQ_DEFAULT_PASS: test
- ports:
- - "5672:5672"
- - "15672:15672"
- healthcheck:
- test: ["CMD", "rabbitmqctl", "status"]
- interval: 30s
- timeout: 10s
- retries: 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement