This commit is contained in:
2026-07-27 19:56:44 +01:00
parent 211959cf2d
commit 31d653ddb5
9 changed files with 124 additions and 1 deletions
+26
View File
@@ -0,0 +1,26 @@
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