f
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user