-
Notifications
You must be signed in to change notification settings - Fork 46
/
docker-compose.override.example.yml
67 lines (59 loc) · 1.51 KB
/
docker-compose.override.example.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
# Example override file. Copy as docker-compose.override.yml and edit as needed
services:
web:
env_file:
- ./config/prod.env
- ./config/wger-local.env # Only add the variables that you have changed
celery_worker:
env_file:
- ./config/prod.env
- ./config/wger-local.env
celery_beat:
env_file:
- ./config/prod.env
- ./config/wger-local.env
#
# Example configuration using caddy instead of nginx. Since we don't want to
# change the main compose file as it would break existing deployments, the nginx
# service needs to stay there. Here we simply remove any exposed ports
# caddy:
# image: caddy:latest
# container_name: wger_caddy
# depends_on:
# - web
# ports:
# - "2019:2019"
# - "80:80"
# - "443:443"
# - "443:443/udp"
# volumes:
# - ./config/Caddyfile:/etc/caddy/Caddyfile
# - caddy-data:/data
# - caddy-logs:/var/www/logs
# - caddy-config:/config
# - static:/wger/static:ro
# - media:/wger/media:ro
#
# nginx:
# ports: !reset []
celery_flower:
image: wger/server:latest
container_name: wger_celery_flower
command: /start-flower
env_file:
- ./config/prod.env
ports:
- "5555:5555"
healthcheck:
test: wget --no-verbose --tries=1 http://localhost:5555/healthcheck
interval: 10s
timeout: 5s
retries: 5
depends_on:
celery_worker:
condition: service_healthy
#volumes:
# caddy_data:
# caddy-data:
# caddy-config:
# caddy-logs: