chore(nginx): consistent use of _HOST suffix

This commit is contained in:
jon r 2025-02-25 01:04:43 +01:00
parent 0b4e7dac41
commit 0c3d732791
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_HOST=api
FUNKWHALE_API_PORT=5000 FUNKWHALE_API_PORT=5000
FUNKWHALE_FRONT_IP=front FUNKWHALE_FRONT_HOST=front
FUNKWHALE_FRONT_PORT=${VUE_PORT} FUNKWHALE_FRONT_PORT=${VUE_PORT}
# postgres # postgres

View File

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

View File

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

View File

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