tylen df60f57708 services: add local services
- portainer
- home
2025-05-11 23:16:50 +03:00

18 lines
752 B
YAML

# Docker Compose for service homepage created at Sat May 10 09:14:42 PM EEST 2025
services:
homepage:
image: ghcr.io/gethomepage/homepage:latest
container_name: homepage
environment:
HOMEPAGE_ALLOWED_HOSTS: "${ALLOWED_HOSTS}" # required, may need port. See gethomepage.dev/installation/#homepage_allowed_hosts
PID: 1001:1001
GID: 1001:1001
TZ: "Europe/Helsinki" # Set the timezone
ports:
- ${SVC_PORT_1}:3000
volumes:
- ${HOMEPAGE_CONFIG}:/app/config # Make sure your local config directory exists
- /var/run/docker.sock:/var/run/docker.sock:ro
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro # optional, for docker integrations
restart: unless-stopped