29 lines
922 B
YAML
29 lines
922 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
|
|
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:
|
|
- 127.0.0.1:2375:2375
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro # Mounted as read-only
|
|
restart: unless-stopped
|
|
|
|
homepage:
|
|
image: ghcr.io/gethomepage/homepage:latest
|
|
container_name: homepage
|
|
ports:
|
|
- "3004:3000"
|
|
volumes:
|
|
- /srv/docker/daten/homepage:/app/config
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
environment:
|
|
- HOMEPAGE_ALLOWED_HOSTS=192.168.178.204:3004,localhost
|
|
restart: unless-stopped |