-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathcompose.override.yaml
74 lines (65 loc) · 1.58 KB
/
compose.override.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
66
67
68
69
70
71
72
73
74
---
services:
db:
env_file: ./.envs/.local/.postgres
api:
build:
context: ./api/
target: dev
user: "${UID:?Set UID env variable to your user id}"
volumes:
- ./api:/app
ports:
- "8000:8000"
env_file: ./.envs/.local/.api
caluma:
build:
context: caluma
args:
INSTALL_DEV: "true"
user: "${UID:?Set UID env variable to your user id}"
env_file: ./.envs/.local/.caluma
volumes:
- ./caluma/extensions:/app/caluma/extensions
- ./caluma/data:/app/caluma/data:ro
- ./caluma/setup.cfg:/app/setup.cfg:ro
- ./caluma/.env:/app/.env
command:
[
"/bin/sh",
"-c",
"wait-for-it 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
command: start-dev
ember:
build: ./ember
mail:
image: mailhog/mailhog
environment:
- VIRTUAL_PORT=8025
- VIRTUAL_HOST=mail.mysagw.local
ports:
- "8025:8025"
minio:
env_file: ./.envs/.local/.minio
ports:
- "9001:9001"
mc:
env_file: ./.envs/.local/.minio
dms:
env_file: ./.envs/.local/.dms
# Suddenly with this, the uwsgi workers are constantly restarted. Uncommenting for now.
# deploy:
# resources:
# limits:
# memory: 1024M