-
Notifications
You must be signed in to change notification settings - Fork 20
/
docker.compose.yml
41 lines (41 loc) · 1022 Bytes
/
docker.compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: "2.1"
services:
rabbitmq:
restart: unless-stopped
build: ./rabbitmq-healthcheck
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
ports:
- "5672:5672"
- "15672:15672"
- "25672:25672"
volumes: ["rabbitmq-data:/var/lib/rabbitmq"]
networks: [backing-services]
mongo:
restart: unless-stopped
image: healthcheck/mongo:latest
environment:
MONGO_PORT_27017_TCP_PORT: 27017
JAVA_OPTS: ""
ports: ["27017:27017"]
volumes: ["mongo-data:/data/db"]
networks: [backing-services]
mongo-express:
restart: unless-stopped
depends_on:
mongo:
condition: service_healthy
image: mongo-express:0.42.2
environment:
ME_CONFIG_MONGODB_SERVER: mongo
ME_CONFIG_BASICAUTH_USERNAME: guest
ME_CONFIG_BASICAUTH_PASSWORD: guest
ports: ["8081:8081"]
networks: [backing-services]
volumes:
rabbitmq-data: {}
mongo-data: {}
networks:
backing-services:
driver: bridge