forked from adfinis/mySAGW
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.override.yml
70 lines (62 loc) · 1.48 KB
/
docker-compose.override.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
version: "3"
services:
db:
env_file: ./.envs/.local/.postgres
api:
build:
context: ./api/
args:
REQUIREMENTS: requirements-dev.txt
user: "${UID:?Set UID env variable to your user id}"
volumes:
- ./api:/app
ports:
- "8000:8000"
command:
[
"/bin/sh",
"-c",
"wait-for-it.sh db:5432 -- ./manage.py migrate && ./manage.py runserver 0.0.0.0:8000",
]
env_file: ./.envs/.local/.api
caluma:
build:
context: caluma
args:
INSTALL_DEV: "true"
env_file: ./.envs/.local/.caluma
volumes:
- ./caluma/extensions:/app/caluma/extensions
- ./caluma/data:/app/caluma/data:ro
- ./caluma/setup.cfg:/app/setup.cfg:ro
command:
[
"/bin/sh",
"-c",
"wait-for-it.sh db:5432 -- poetry run python ./manage.py migrate && poetry run python ./manage.py runserver 0.0.0.0:8000",
]
caddy:
env_file: ./.envs/.local/.caddy
environment:
- GRAPHIQL_PROXY=reverse_proxy /static/graphene_django/* http://caluma:8000
networks:
default:
aliases:
- mysagw.local
keycloak:
env_file: ./.envs/.local/.keycloak
mail:
image: mailhog/mailhog
environment:
- VIRTUAL_PORT=8025
- VIRTUAL_HOST=mail.mysagw.local
ports:
- "8025:8025"
minio:
env_file: ./.envs/.local/.minio
ports:
- "9000:9000"
mc:
env_file: ./.envs/.local/.minio
dms:
env_file: ./.envs/.local/.dms