Add alias of lasuite-app instead of app to prevent docker DNS name conflict
This commit is contained in:
@ -7,6 +7,13 @@ DOMAIN=lasuite-docs.example.com
|
||||
|
||||
LETS_ENCRYPT_ENV=production
|
||||
|
||||
##############################################################################
|
||||
# SECRETS
|
||||
##############################################################################
|
||||
SECRET_DJANGO_SECRET_KEY=v1
|
||||
SECRET_OIDC_RP_CLIENT_SECRET=v1
|
||||
SECRET_DJANGO_SUPERUSER_PASSWORD=v1
|
||||
|
||||
##############################################################################
|
||||
# BASIC SETTINGS
|
||||
##############################################################################
|
||||
|
||||
@ -86,7 +86,9 @@ services:
|
||||
app:
|
||||
image: lasuite/impress-frontend:v3.4.2
|
||||
networks:
|
||||
- backend
|
||||
backend:
|
||||
aliases:
|
||||
- lasuite-app
|
||||
deploy:
|
||||
labels:
|
||||
- "traefik.enable=false"
|
||||
|
||||
@ -3,7 +3,7 @@ upstream docs_backend {
|
||||
}
|
||||
|
||||
upstream docs_frontend {
|
||||
server app:8080 fail_timeout=0;
|
||||
server lasuite-app:8080 fail_timeout=0;
|
||||
}
|
||||
|
||||
server {
|
||||
|
||||
Reference in New Issue
Block a user