Обновить docker-compose.yml
This commit is contained in:
+22
-21
@@ -1,24 +1,25 @@
|
||||
services:
|
||||
dockmon:
|
||||
container_name: dockmon
|
||||
environment:
|
||||
- TZ=Europe/Moscow
|
||||
healthcheck:
|
||||
interval: 30s
|
||||
retries: 3
|
||||
test:
|
||||
- CMD
|
||||
- curl
|
||||
- -k
|
||||
- -f
|
||||
- https://localhost:443/health
|
||||
timeout: 10s
|
||||
image: darthnorse/dockmon:latest
|
||||
arcane:
|
||||
image: ghcr.io/getarcaneapp/manager:latest
|
||||
container_name: arcane
|
||||
ports:
|
||||
- 8001:443
|
||||
restart: unless-stopped
|
||||
- "3552:3552"
|
||||
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:
|
||||
- /mnt/ssd/apps/dockmon:/app/data
|
||||
# - /mnt/ssd/apps/dockge/stacks:/stacks
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
networks: {}
|
||||
- /var/run/docker.sock:/var/run/docker.sock # manage the host's Docker
|
||||
- /mnt/tank/configs/arcane:/app/data # persistent app data (DB, etc.)
|
||||
- /mnt/tank/stacks:/mnt/tank/stacks # must match PROJECTS_DIRECTORY
|
||||
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