Fix Formio: change MONGO_URL to MONGO env var and correct Traefik port to 3001

This commit is contained in:
2026-01-16 16:14:44 -05:00
parent 1a5fd8d5f9
commit 71c99fa8d1

View File

@@ -80,7 +80,7 @@ services:
- traefik-network
- formio-network
environment:
- MONGO_URL=mongodb://formio-mongo:27017/formio
- MONGO=mongodb://formio-mongo:27017/formio
- JWT_SECRET=${FORMIO_JWT_SECRET}
- DB_SECRET=${FORMIO_DB_SECRET}
depends_on:
@@ -93,7 +93,7 @@ services:
- "traefik.http.routers.formio.entrypoints=websecure"
- "traefik.http.routers.formio.tls.certresolver=letsencrypt"
- "traefik.http.routers.formio.middlewares=authelia@docker"
- "traefik.http.services.formio.loadbalancer.server.port=3000"
- "traefik.http.services.formio.loadbalancer.server.port=3001"
formio-mongo:
image: mongo:6.0