1
0
Fork 0

add status docker compose

This commit is contained in:
Peter Domínguez 2025-05-31 08:44:53 -04:00
parent 06a9b45203
commit 6d5c969467

View file

@ -0,0 +1,22 @@
services:
uptime-kuma:
image: louislam/uptime-kuma:beta
container_name: uptime-kuma
volumes:
- /home/nagatoro/docker/uptime-kuma:/app/data
ports:
- 3001:3001
restart: always
dockerproxy:
image: ghcr.io/tecnativa/docker-socket-proxy:latest
container_name: dockerproxy
environment:
- CONTAINERS=1 # Allow access to viewing containers
- SERVICES=1 # Allow access to viewing services (necessary when using Docker Swarm)
- TASKS=1 # Allow access to viewing tasks (necessary when using Docker Swarm)
- POST=0 # Disallow any POST operations (effectively read-only)
ports:
- 2375:2375
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro # Mounted as read-only
restart: unless-stopped