Добавить docker-compose.yml
This commit is contained in:
@@ -0,0 +1,24 @@
|
|||||||
|
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
|
||||||
|
ports:
|
||||||
|
- 8001:443
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- /mnt/ssd/apps/dockmon:/app/data
|
||||||
|
# - /mnt/ssd/apps/dockge/stacks:/stacks
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
networks: {}
|
||||||
Reference in New Issue
Block a user