From 089c9e2b7cc2cea370a81d29106f2fc1c3f77fa4 Mon Sep 17 00:00:00 2001 From: Ricardo Date: Mon, 22 Sep 2025 23:17:47 +0100 Subject: [PATCH] added arcane service and .env variables for encryption and jwt secrets --- .env.example | 7 ++++++- docker-compose.yml | 23 ++++++++++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 0fb05af..6bc215e 100644 --- a/.env.example +++ b/.env.example @@ -12,4 +12,9 @@ HDDSTORAGE=/home/{youruser}/Storage/ #Your public ip, auto for auto detect SERVERURL=auto #number of devices to generate configuration to connect to the wireguard vpn -PEERS=7 \ No newline at end of file +PEERS=7 + +APP_URL="http://localhost:9010" +ENVIRONMENT=production +ENCRYPTION_KEY={your_encryption_key} #Run command: openssl rand -base64 32 +JWT_SECRET={your_jwt_secret} #Run command: openssl rand -base64 32 \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 0bd6797..260010a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -143,4 +143,25 @@ services: - '5055:5055' volumes: - '${ROOT}/MediaCenter/config/overseerr/config:/app/config' - restart: unless-stopped \ No newline at end of file + restart: unless-stopped + + arcane: + image: ghcr.io/ofkm/arcane:latest + container_name: arcane + ports: + - '9010:3552' + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - arcane-data:/app/data + - '${ROOT}/MediaCenter/config/arcane/projects:/app/data/projects' + environment: + - APP_URL=${APP_URL} + - PUID=${PUID} + - PUID=${PUID} + - ENCRYPTION_KEY=${ENCRYPTION_KEY} + - JWT_SECRET=${JWT_SECRET} + - ENVIRONMENT=${ENVIRONMENT} + restart: unless-stopped + +volumes: + arcane-data: \ No newline at end of file