22 lines
777 B
YAML
22 lines
777 B
YAML
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
|