forked from arcanetechnology/web-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
25 lines (24 loc) · 1.06 KB
/
docker-compose.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
version: '3.8'
services:
nginx:
container_name: nginx
build: config
environment:
# domain name
- WEB_DOMAIN_NAME=$WEB_DOMAIN_NAME
# Backend address where the request should be forwarded by proxy by default
- DEFAULT_HOSTNAME=$DEFAULT_HOSTNAME
# Backend address where the request should be forwarded for /research path
- RESEARCH_HOSTNAME=$RESEARCH_HOSTNAME
# Backend address where the request should be forwarded for /research/archive path
- RESEARCH_ARCHIVE_HOSTNAME=$RESEARCH_ARCHIVE_HOSTNAME
# Backend address where the request should be forwarded for /apps/invest path
- INVEST_HOSTNAME=$INVEST_HOSTNAME
# Backend address where the request should be forwarded for /apps/vault path
- VAULT_HOSTNAME=$VAULT_HOSTNAME
# Backend address where the request should be forwarded for /services/auth path
- AUTH_HOSTNAME=$AUTH_HOSTNAME
# output directory where config files generated from template is exported
- NGINX_ENVSUBST_OUTPUT_DIR=/etc/nginx/
ports:
- "8080:8080"