-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.app.dev.yml
63 lines (58 loc) · 1.16 KB
/
docker-compose.app.dev.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
version: '3.4'
services:
api:
build:
context: backend
dockerfile: Dockerfile
command: flask run --host=0.0.0.0
ports:
- "5000:5000"
env_file:
- .envs/.local/.env.flaskenv
- .envs/.local/.env.pg
- .envs/.local/.env.minio
volumes:
- ./backend/src:/code/src
- ./backend/tests:/code/tests
- ./backend/jdd/xml_cisu:/jdd/xml_cisu
networks:
- default
- enki_default
postgres:
image: mdillon/postgis
restart: unless-stopped
ports:
- "5432:5432"
env_file:
- .envs/.local/.env.pg
volumes:
- pg-data:/var/lib/postgresql/data
networks:
- default
minio:
image: minio/minio
volumes:
- minio-data:/data
ports:
- "9000:9000"
expose:
- "9000"
env_file:
- .envs/.local/.env.minio
command: server data/
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:9000/minio/health/live" ]
interval: 30s
timeout: 20s
retries: 3
networks:
- default
- enki_default
volumes:
minio-data:
pg-data:
networks:
default:
driver: bridge
enki_default:
external: true