Обновить docker-compose.yml
This commit is contained in:
+22
-21
@@ -1,24 +1,25 @@
|
|||||||
services:
|
services:
|
||||||
dockmon:
|
arcane:
|
||||||
container_name: dockmon
|
image: ghcr.io/getarcaneapp/manager:latest
|
||||||
environment:
|
container_name: arcane
|
||||||
- TZ=Europe/Moscow
|
|
||||||
healthcheck:
|
|
||||||
interval: 30s
|
|
||||||
retries: 3
|
|
||||||
test:
|
|
||||||
- CMD
|
|
||||||
- curl
|
|
||||||
- -k
|
|
||||||
- -f
|
|
||||||
- https://localhost:443/health
|
|
||||||
timeout: 10s
|
|
||||||
image: darthnorse/dockmon:latest
|
|
||||||
ports:
|
ports:
|
||||||
- 8001:443
|
- "3552:3552"
|
||||||
restart: unless-stopped
|
environment:
|
||||||
|
- ENCRYPTION_KEY=PASTE_FIRST_OPENSSL_VALUE_HERE
|
||||||
|
- JWT_SECRET=PASTE_SECOND_OPENSSL_VALUE_HERE
|
||||||
|
- PROJECTS_DIRECTORY=/mnt/tank/stacks # where your Compose projects live
|
||||||
|
- PUID=568
|
||||||
|
- PGID=568
|
||||||
|
- TZ=America/New_York
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/ssd/apps/dockmon:/app/data
|
- /var/run/docker.sock:/var/run/docker.sock # manage the host's Docker
|
||||||
# - /mnt/ssd/apps/dockge/stacks:/stacks
|
- /mnt/tank/configs/arcane:/app/data # persistent app data (DB, etc.)
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /mnt/tank/stacks:/mnt/tank/stacks # must match PROJECTS_DIRECTORY
|
||||||
networks: {}
|
cgroup: host # helps Arcane detect its own container
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "./arcane", "health", "--timeout", "2s"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 3s
|
||||||
|
retries: 5
|
||||||
|
start_period: 15s
|
||||||
|
restart: unless-stopped
|
||||||
Reference in New Issue
Block a user