-
-
Notifications
You must be signed in to change notification settings - Fork 204
/
docker-compose.frontend.override.yml.sample
73 lines (66 loc) · 1.93 KB
/
docker-compose.frontend.override.yml.sample
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
# Override for front-end servers
version: '3'
services:
kpi:
environment:
# Uncomment the lines below to tweak uWSGI
#- KPI_UWSGI_WORKERS_COUNT=2
#- KPI_UWSGI_CHEAPER_WORKERS_COUNT=1
#- KPI_UWSGI_MAX_REQUESTS=512
#- KPI_UWSGI_CHEAPER_RSS_LIMIT_SOFT=134217728
#- KPI_UWSGI_HARAKIRI=120
#- KPI_UWSGI_WORKER_RELOAD_MERCY=120
# Comment out the line below if HTTPS is not used
- SECURE_PROXY_SSL_HEADER=HTTP_X_FORWARDED_PROTO, https
networks:
kobo-be-network:
aliases:
- kpi.docker.container
worker_kobocat:
networks:
kobo-be-network:
aliases:
- worker_kobocat
- worker_kobocat.docker.container
worker_low_priority:
networks:
kobo-be-network:
aliases:
- worker_kobocat
- worker_kobocat.docker.container
beat:
networks:
kobo-be-network:
aliases:
- beat
- beat.docker.container
nginx:
environment:
# `NGINX_PUBLIC_PORT` is the port used to access KoboToolbox (e.g. `https://kf.kobotoolbox.org:<NGINX_PUBLIC_PORT>`)
# Include the colons with the port
- NGINX_PUBLIC_PORT=:8080
#- UWSGI_PASS_TIMEOUT=130
ports:
# <proxy_port>:80 . If no proxies, `proxy_port` should be the same as `NGINX_PUBLIC_PORT`
- 80:80
networks:
kobo-fe-network:
aliases:
- nginx
# These aliases must match the concatenation of `*_PUBLIC_SUBDOMAIN` and `INTERNAL_DOMAIN_NAME`
# found in `../kobo-env/envfile.txt`
- kf.docker.internal
- kc.docker.internal
- ee.docker.internal
enketo_express:
networks:
kobo-be-network:
aliases:
- enketo_express
networks:
kobo-be-network:
external:
# name: <prefix>_kobo-be-network`, where `prefix` is usually the parent
# folder name
name: kobodocker_kobo-be-network
external: true