feat(Mobilizon): Add default port

This commit is contained in:
Simon 2022-01-10 10:27:22 +01:00
parent 2c9b9257f9
commit 80250b899b
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ COMPOSE_FILE=${SERVICES_DIR}/mobilizon/docker-compose.yml:${SERVICES_DIR}/mobili
MOBILIZON_INSTANCE_NAME="RésiLien - Mobilizon" MOBILIZON_INSTANCE_NAME="RésiLien - Mobilizon"
MOBILIZON_DOMAIN=mobilizon.lan MOBILIZON_DOMAIN=mobilizon.lan
MOBILIZON_INSTANCE_PORT=4000 #MOBILIZON_INSTANCE_PORT=4000
MOBILIZON_INSTANCE_EMAIL=no-reply@mobilizon.lan MOBILIZON_INSTANCE_EMAIL=no-reply@mobilizon.lan
MOBILIZON_REPLY_EMAIL=contact@mobilizon.lan MOBILIZON_REPLY_EMAIL=contact@mobilizon.lan

View File

@ -5,4 +5,4 @@ version: "3.8"
services: services:
mobilizon: mobilizon:
ports: ports:
- "4000:${MOBILIZON_PORT:-4000}" - "${MOBILIZON_INSTANCE_PORT:-4000}:${MOBILIZON_PORT:-4000}"

View File

@ -21,7 +21,7 @@ services:
environment: environment:
MOBILIZON_INSTANCE_NAME: ${MOBILIZON_INSTANCE_NAME} MOBILIZON_INSTANCE_NAME: ${MOBILIZON_INSTANCE_NAME}
MOBILIZON_INSTANCE_HOST: ${MOBILIZON_DOMAIN} MOBILIZON_INSTANCE_HOST: ${MOBILIZON_DOMAIN}
MOBILIZON_INSTANCE_PORT: ${MOBILIZON_INSTANCE_PORT} MOBILIZON_INSTANCE_PORT: ${MOBILIZON_INSTANCE_PORT:-4000}
MOBILIZON_INSTANCE_EMAIL: ${MOBILIZON_INSTANCE_EMAIL} MOBILIZON_INSTANCE_EMAIL: ${MOBILIZON_INSTANCE_EMAIL}
MOBILIZON_REPLY_EMAIL: ${MOBILIZON_REPLY_EMAIL} MOBILIZON_REPLY_EMAIL: ${MOBILIZON_REPLY_EMAIL}