Files
Jasper-homepage/compose.yml
2026-03-13 01:25:46 -04:00

43 lines
1.5 KiB
YAML

services:
homepage:
image: ghcr.io/gethomepage/homepage:latest
container_name: homepage
restart: unless-stopped # change to 'no' to enable Sablier lazy loading
networks:
- homelab-network
- traefik-network
ports:
- '3003:3000'
volumes:
- ./config:/app/config
- /var/run/docker.sock:/var/run/docker.sock # For Docker integration do not mount RO
- ${STACKS_DIR}:${STACKS_DIR} # To discover other stacks
environment:
- PUID=${PUID} # Must be set to the docker user ID
- PGID=${PGID} # Must be set to the docker group ID
- TZ=${TZ}
- HOMEPAGE_ALLOWED_HOSTS=${HOMEPAGE_ALLOWED_HOSTS}, ${SERVER_IP}:3003
labels:
- 'homelab.category=dashboard'
- 'homelab.description=Application dashboard'
- 'traefik.enable=true'
- 'traefik.docker.network=traefik-network'
- 'traefik.http.routers.homepage.rule=Host(`homepage.kelinreij.duckdns.org`)'
- 'traefik.http.routers.homepage.entrypoints=websecure'
- 'traefik.http.routers.homepage.tls.certresolver=letsencrypt'
- 'traefik.http.routers.homepage.tls=true'
- 'traefik.http.routers.homepage.middlewares=authelia@docker'
- 'traefik.http.services.homepage.loadbalancer.server.port=3000'
x-dockge:
urls:
# Proxied URLs (through Traefik)
- https://homepage.kelinreij.duckdns.org
- https://192.168.4.4:3003
networks:
homelab-network:
external: true
traefik-network:
external: true