feat(arcane): move configuration into .env

This commit is contained in:
Viren070
2025-07-14 15:26:48 +01:00
parent 1e3f22f494
commit 11ac9cd6eb
2 changed files with 8 additions and 6 deletions
+3
View File
@@ -0,0 +1,3 @@
# Generate a secret using the following command:
# echo "$(openssl rand -base64 64 | tr -d '=/' | tr -d '\n')"
PUBLIC_SESSION_SECRET=
+5 -6
View File
@@ -5,6 +5,11 @@ services:
restart: unless-stopped
expose:
- 3000
environment:
- APP_ENV=production
- PUID=${PUID}
- PGID=${PGID}
- PUBLIC_SESSION_SECRET=${PUBLIC_SESSION_SECRET?}
labels:
- "traefik.enable=true"
- "traefik.http.routers.arcane.rule=Host(`${ARCANE_HOSTNAME?}`)"
@@ -15,12 +20,6 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${DOCKER_DATA_DIR}/arcane:/app/data
environment:
- APP_ENV=production
- PUID=${PUID}
- PGID=${PGID}
# Session secret - generate with: openssl rand -base64 32
- PUBLIC_SESSION_SECRET=
profiles:
- arcane
- all