mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
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:
+7
-4
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user