-
Notifications
You must be signed in to change notification settings - Fork 20
/
docker-compose.yml
71 lines (65 loc) · 1.49 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
services:
postgres:
extends:
file: docker-compose.dbs.yml
service: postgres
ports:
- 5432:5432
volumes:
- postgres:/var/lib/postgresql/data
redis:
extends:
file: docker-compose.dbs.yml
service: redis
ports:
- 6379:6379
elasticsearch:
extends:
file: docker-compose.dbs.yml
service: elasticsearch
ports:
- 9200:9200
volumes:
- elasticsearch:/usr/share/elasticsearch/data
mongodb:
extends:
file: docker-compose.dbs.yml
service: mongodb
volumes:
- mongo:/data/db
ports:
- 27017:27017
minio:
image: minio/minio
restart: "${DOCKER_RESTART_POLICY:-unless-stopped}"
environment:
MINIO_ROOT_USER: trackdechets
MINIO_ROOT_PASSWORD: password
ports:
- "9000:9000"
- "8900:8900"
volumes:
- minio:/data/minio
command: minio server /data/minio --console-address ":8900"
nginx:
image: nginx:1.19.6
restart: "${DOCKER_RESTART_POLICY:-unless-stopped}"
network_mode: $NGINX_NETWORK_MODE
volumes:
- ./nginx/templates:/etc/nginx/templates
environment:
API_HOST: $API_HOST
API_PORT: $API_PORT
NOTIFIER_HOST: $NOTIFIER_HOST
UI_HOST: $UI_HOST
DEVELOPERS_HOST: $DEVELOPERS_HOST
NGINX_PROXY_HOST: $NGINX_PROXY_HOST
ELASTIC_SEARCH_HOST: $ELASTIC_SEARCH_HOST
STORYBOOK_HOST: $STORYBOOK_HOST
ports:
- "80:80"
volumes:
postgres:
elasticsearch:
mongo:
minio: