33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
---
|
|
services:
|
|
dockerproxy:
|
|
image: ghcr.io/tecnativa/docker-socket-proxy:latest
|
|
container_name: dockerproxy
|
|
environment:
|
|
- CONTAINERS=1 # Allow access to viewing containers
|
|
- SERVICES=0 # Allow access to viewing services (necessary when using Docker Swarm)
|
|
- TASKS=0 # Allow access to viewing tasks (necessary when using Docker Swarm)
|
|
- POST=0 # Disallow any POST operations (effectively read-only)
|
|
ports:
|
|
- 127.0.0.1:${DOCKER_PORT}:${DOCKER_PORT}
|
|
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
|
|
pull_policy: always
|
|
restart: unless-stopped
|
|
ports:
|
|
- 127.0.0.1:${PORT}:${PORT}
|
|
init: true
|
|
volumes:
|
|
- ${VOLUME_PATH}/config:/app/config # Make sure your local config directory exists
|
|
- ${VOLUME_PATH}/icons:/app/public/icons # icons
|
|
- ${VOLUME_PATH}/images:/app/public/images # images
|
|
environment:
|
|
PUID: ${PUID}
|
|
PGID: ${PGID}
|
|
HOMEPAGE_ALLOWED_HOSTS: dash.knravish.me
|