chore(nginx): consistent use of _HOST suffix

This commit is contained in:
jon r 2025-02-25 01:04:43 +01:00
parent 6f1eab993d
commit 9cf5d36343
4 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ NGINX_MAX_BODY_SIZE=10G
FUNKWHALE_API_HOST=api
FUNKWHALE_API_PORT=5000
FUNKWHALE_FRONT_IP=front
FUNKWHALE_FRONT_HOST=front
FUNKWHALE_FRONT_PORT=${VUE_PORT}
# postgres

View File

@ -30,7 +30,7 @@ services:
- "FUNKWHALE_API_IP=host.docker.internal"
- "FUNKWHALE_API_HOST=host.docker.internal"
- "FUNKWHALE_API_PORT=5000"
- "FUNKWHALE_FRONT_IP=host.docker.internal"
- "FUNKWHALE_FRONT_HOST=host.docker.internal"
- "FUNKWHALE_FRONT_PORT=8080"
- "FUNKWHALE_HOSTNAME=${FUNKWHALE_HOSTNAME-host.docker.internal}"
- "FUNKWHALE_PROTOCOL=https"

View File

@ -4,7 +4,7 @@ upstream funkwhale-api {
}
upstream funkwhale-front {
server ${FUNKWHALE_FRONT_IP}:${FUNKWHALE_FRONT_PORT};
server ${FUNKWHALE_FRONT_HOST}:${FUNKWHALE_FRONT_PORT};
}
# Required for websocket support.

View File

@ -19,7 +19,7 @@ upstream funkwhale-api {
{% if config.proxy_frontend %}
upstream funkwhale-front {
server ${FUNKWHALE_FRONT_IP}:${FUNKWHALE_FRONT_PORT};
server ${FUNKWHALE_FRONT_HOST}:${FUNKWHALE_FRONT_PORT};
}
{% endif %}