Files
server/services/prod/home-docker-compose.yml
T
2026-07-27 19:56:44 +01:00

27 lines
905 B
YAML

services:
home:
image: ghcr.io/gethomepage/homepage:latest
container_name: home
volumes:
- ./home/config:/app/config
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- proxy
labels:
## Expose home Through Trefik ##
- "traefik.enable=true" # <== Enable traefik to proxy this container
- "traefik.http.middlewares.redirect-web-secure.redirectscheme.scheme=https"
- "traefik.http.routers.home-insecure.middlewares=redirect-web-secure"
- "traefik.http.routers.home-insecure.rule=Host(`home.luke-else.co.uk`)"
- "traefik.http.routers.home-insecure.entrypoints=web"
- "traefik.http.routers.home.rule=Host(`home.luke-else.co.uk`)"
- "traefik.http.routers.home.entrypoints=websecure"
- "traefik.http.routers.home.tls.certresolver=myresolver"
restart: unless-stopped
networks:
proxy:
external: true