fix(arcane): update for v1

note: pre v1 databases cannot be migrated, start fresh:
sudo rm -rf /opt/docker/data/arcane
This commit is contained in:
Viren070
2025-10-01 20:27:35 +01:00
parent 3ecce8d8a1
commit 9a42476fb4
2 changed files with 13 additions and 8 deletions
+7 -4
View File
@@ -1,6 +1,9 @@
# Generate a secret using the following command:
# The following variables are required to run Arcane. Use the commands provided to generate secure values.
# openssl rand -hex 32
ARCANE_ENCRYPTION_KEY=
# echo "$(openssl rand -base64 64 | tr -d '=/' | tr -d '\n')"
PUBLIC_SESSION_SECRET=
ARCANE_JWT_SECRET=
# On first run, Arcane creates a default admin user if no users exist.
# Default Username/Password : arcane/arcane-admin
# The default credentials when you first start Arcane are as follows:
# Username: arcane
# Password: arcane-admin
+6 -4
View File
@@ -4,18 +4,20 @@ services:
container_name: arcane
restart: unless-stopped
expose:
- 3000
- 3552
environment:
- APP_ENV=production
- PUID=${PUID}
- PGID=${PGID}
- PUBLIC_SESSION_SECRET=${PUBLIC_SESSION_SECRET?}
- APP_URL=https://${ARCANE_HOSTNAME}
- ENCRYPTION_KEY=${ARCANE_ENCRYPTION_KEY}
- JWT_SECRET=${ARCANE_JWT_SECRET}
- DATABASE_URL=file:/app/data/arcane.db?_pragma=journal_mode(WAL)&_pragma=busy_timeout(2500)&_txlock=immediate
labels:
- "traefik.enable=true"
- "traefik.http.routers.arcane.rule=Host(`${ARCANE_HOSTNAME?}`)"
- "traefik.http.routers.arcane.entrypoints=websecure"
- "traefik.http.routers.arcane.tls.certresolver=letsencrypt"
- "traefik.http.services.arcane.loadbalancer.server.port=3000"
- "traefik.http.services.arcane.loadbalancer.server.port=3552"
- "traefik.http.routers.arcane.middlewares=authelia@docker"
volumes:
- /var/run/docker.sock:/var/run/docker.sock