.env: add APPLICATION variable for nginx.conf
This commit is contained in:
parent
9085fa39c8
commit
c536ba630e
1
.env
1
.env
@ -4,6 +4,7 @@ TRAEFIK_APP_NAME=
|
||||
TRAEFIK_ENTRYPOINTS=web-secure
|
||||
# TRAEFIK_ENTRYPOINTS=web-secure-ext
|
||||
WEB_HOST=
|
||||
APPLICATION=
|
||||
|
||||
# WEB
|
||||
APP_BASE_PATH=/login
|
||||
|
||||
@ -7,7 +7,7 @@ upstream api {
|
||||
}
|
||||
|
||||
upstream app {
|
||||
server application:80;
|
||||
server $APPLICATION;
|
||||
}
|
||||
|
||||
include /etc/nginx/include/upstream.conf;
|
||||
|
||||
@ -41,6 +41,8 @@ services:
|
||||
file: docker-compose.traefik.yml
|
||||
service: server
|
||||
image: nginx:alpine
|
||||
environment:
|
||||
- APPLICATION=${APPLICATION}
|
||||
volumes:
|
||||
- ./config/nginx.conf:/etc/nginx/templates/default.conf.template
|
||||
- ./config/include:/etc/nginx/include
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user