add arcane
This commit is contained in:
23
arcane/docker-compose.yml
Normal file
23
arcane/docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
services:
|
||||||
|
arcane:
|
||||||
|
image: ghcr.io/getarcaneapp/manager:v2.3.2
|
||||||
|
container_name: arcane
|
||||||
|
ports:
|
||||||
|
- '3552:3552'
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- arcane-data:/app/data
|
||||||
|
environment:
|
||||||
|
- ENCRYPTION_KEY=your-32-char-encryption-key # 执行openssl rand -hex 32后复制填入
|
||||||
|
- JWT_SECRET=your-jwt-secret # 执行openssl rand -hex 32后复制填入
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
|
cgroup: host
|
||||||
|
restart: unless-stopped
|
||||||
|
healthcheck:
|
||||||
|
test: ['CMD', '/app/arcane', 'health']
|
||||||
|
interval: 30s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
arcane-data:
|
||||||
Reference in New Issue
Block a user