Add alias of lasuite-app instead of app to prevent docker DNS name conflict

This commit is contained in:
notplants
2025-10-31 11:21:36 -04:00
parent 079d0d4bbd
commit 9a4d5058f9
3 changed files with 11 additions and 2 deletions

View File

@ -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
##############################################################################

View File

@ -86,7 +86,9 @@ services:
app:
image: lasuite/impress-frontend:v3.4.2
networks:
- backend
backend:
aliases:
- lasuite-app
deploy:
labels:
- "traefik.enable=false"

View File

@ -3,7 +3,7 @@ upstream docs_backend {
}
upstream docs_frontend {
server app:8080 fail_timeout=0;
server lasuite-app:8080 fail_timeout=0;
}
server {