-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (43 loc) · 969 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
42
43
44
45
version: "3.8"
services:
mongo:
image: mongo:4.4.6
container_name: tcc-mongo
ports:
- 27017:27017
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: admin
volumes:
- tcc-mongo-data:/data/db
networks:
- tcc-network
logging:
driver: json-file
options:
max-size: 100m
rabbitmq:
image: rabbitmq:3-management-alpine
container_name: sfz-rabbitmq
restart: always
ports:
- 15672:15672 # Management UI
- 5672:5672 # AMQP Protocol
- 5671:5671 # AMQPS Protocol
volumes:
- ./.certs/rabbitmq:/etc/ssl:ro
- ./external_config/rabbitmq/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf:ro
networks:
- tcc-network
logging:
driver: json-file
options:
max-size: 100m
volumes:
tcc-mongo-data:
name: tcc-mongo
networks:
tcc-network:
name: tcc-network
driver: bridge