28 lines
715 B
YAML
28 lines
715 B
YAML
|
version: "3.3"
|
||
|
services:
|
||
|
homepage:
|
||
|
image: ghcr.io/gethomepage/homepage:latest
|
||
|
container_name: homepage
|
||
|
volumes:
|
||
|
- homepage-config:/app/config # Make sure your local config directory exists
|
||
|
- /var/run/docker.sock:/var/run/docker.sock # (optional) For docker integrations
|
||
|
|
||
|
environment:
|
||
|
- DOMAIN_ROOT=${DOMAIN_ROOT}
|
||
|
|
||
|
labels:
|
||
|
- "traefik.http.services.homepage.loadbalancer.server.port=3000"
|
||
|
- "traefik.enable=true"
|
||
|
- "traefik.http.routers.homepage.rule=Host(`home.${DOMAIN_ROOT}`)"
|
||
|
- 'traefik.http.routers.homepage.middlewares=authelia@docker'
|
||
|
|
||
|
networks:
|
||
|
- web
|
||
|
|
||
|
volumes:
|
||
|
homepage-config:
|
||
|
external: true
|
||
|
|
||
|
networks:
|
||
|
web:
|
||
|
external: true
|