christianlempa-boilerplates/docker-compose/homepage/compose.yaml

34 lines
1.2 KiB
YAML
Raw Normal View History

2024-03-18 17:08:24 +01:00
---
services:
homepage:
image: ghcr.io/gethomepage/homepage:v0.9.3
2024-03-18 17:08:24 +01:00
container_name: homepage
environment:
- LOG_LEVEL=info
# (Optional) Run as a specific user
# - PUID=your-user-id
# - PGID=your-group-id
2024-03-21 17:25:19 +01:00
# (Optional) For secret variables
# - HOMEPAGE_VAR_YOURSECRET=your-secret-key
2024-03-18 17:08:24 +01:00
ports:
- 3000:3000
volumes:
2024-03-21 17:25:19 +01:00
- ./config:/app/config
- ./images:/app/images # for custom background images
- ./icons:/app/icons # for custom icons
2024-03-18 17:08:24 +01:00
restart: unless-stopped
2024-03-21 17:25:19 +01:00
# (Optional) For secure docker socket integration
# dockerproxy:
# image: ghcr.io/tecnativa/docker-socket-proxy:0.2.0
2024-03-21 17:25:19 +01:00
# container_name: homepage-demo-1-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:
# - /run/docker.sock:/run/docker.sock:ro # Mounted as read-only
2024-03-21 17:25:19 +01:00
# restart: unless-stopped