-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
65 lines (58 loc) · 1.22 KB
/
docker-compose.yaml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
version: '3'
services:
database:
image: mongo
restart: always
hostname: 'database'
volumes:
- db_data:/data/db
- db_data:/data/configdb
ports:
- "27017:27017"
backend:
depends_on:
- queue
- database
hostname: 'backend'
build:
context: ./
dockerfile: ./docker/backend/Dockerfile
queue:
image: "rabbitmq:3-management"
hostname: 'queue'
volumes:
- queue:/var/lib/rabbitmq
environment:
- RABBITMQ_ERLANG_COOKIE=s3cr3tc00ki3
# Uncomment for debugging purposes
ports:
- '5672:5672'
- '15672:15672'
logging:
driver: none
minio:
image: quay.io/minio/minio:RELEASE.2022-06-03T01-40-53Z
ports:
- '9000:9000'
- '9001:9001'
volumes:
- minio_data:/data
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_USER}
command: 'server /data --console-address ":9001"'
volumes:
db_data:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: ${MONGO_DB_PATH}
minio_data:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: ${MINIO_STORAGE_PATH}
backend_data:
queue: