-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
63 lines (58 loc) · 1.42 KB
/
docker-compose.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
version: '3.4'
# this docker configuation is the run flavor (static)
services:
nginx:
image: ${DOCKER_USERNAME}/${DC_PREFIX}:${APP_VERSION}
build:
context: ${NGINX}
target: production
dockerfile: ${NGINX}/Dockerfile
args:
app_name: ${APP}
app_ver: ${APP_VERSION}
container_name: ${DC_PREFIX}
environment:
- APP
- PORT
- ES_PROXY_PATH
- ES_HOST
- ES_INDEX
- ES_PORT
- BACKEND_PROXY_PATH
- BACKEND_PORT
- BACKEND_HOST
- DATAGOUV_PROXY_PATH
- DATAGOUV_RESOURCES_PROXY
- DATAGOUV_RESOURCES_REWRITE_PATH
- NGINX_CSP
- API_SEARCH_LIMIT_RATE
- API_SEARCH_USER_BURST
- API_SEARCH_GLOBAL_LIMIT_RATE
- API_SEARCH_GLOBAL_BURST
- API_BULK_SUBMIT_LIMIT_RATE
- API_BULK_SUBMIT_BURST
- API_MISC_LIMIT_RATE
- API_MISC_USER_BURST
- API_MISC_GLOBAL_LIMIT_RATE
- API_MISC_GLOBAL_BURST
- API_AGG_LIMIT_RATE
- API_AGG_USER_BURST
- API_AGG_GLOBAL_LIMIT_RATE
- API_AGG_GLOBAL_BURST
- API_DOWNLOAD_LIMIT_RATE
- API_USER_SCOPE
- API_SEND_TIMEOUT
- API_READ_TIMEOUT
- API_MAX_BODY
- MITM_URL
- GOOGLE_ANALYTICS_ID
- GOOGLE_ADSENSE_ID
volumes:
- ${STATS}:/usr/share/nginx/html/stats
ports:
- ${PORT}:${PORT}
restart: always
networks:
default:
external:
name: ${DC_NETWORK}