mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
feat(arcane): move configuration into .env
This commit is contained in:
@@ -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 +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
|
||||
Reference in New Issue
Block a user