- Add complete Traefik configuration for Homarr dashboard - Enable Docker socket access for service discovery - Configure Homarr to listen on dashboard.fig.systems - Update FreshRSS hostname from rss to feeds for clarity
39 lines
1 KiB
YAML
39 lines
1 KiB
YAML
# Homarr - Modern dashboard with Docker auto-discovery
|
|
# Docs: https://homarr.dev/docs/getting-started/installation
|
|
# GitHub: https://github.com/ajnart/homarr
|
|
|
|
services:
|
|
homarr:
|
|
container_name: homarr
|
|
image: ghcr.io/ajnart/homarr:latest
|
|
restart: unless-stopped
|
|
|
|
env_file:
|
|
- .env
|
|
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
- ./configs:/app/data/configs
|
|
- ./icons:/app/public/icons
|
|
- ./data:/data
|
|
|
|
networks:
|
|
- homelab
|
|
|
|
labels:
|
|
# Traefik
|
|
traefik.enable: true
|
|
traefik.docker.network: homelab
|
|
|
|
# Web UI
|
|
traefik.http.routers.homarr.rule: Host(`dashboard.fig.systems`)
|
|
traefik.http.routers.homarr.entrypoints: websecure
|
|
traefik.http.routers.homarr.tls.certresolver: letsencrypt
|
|
traefik.http.services.homarr.loadbalancer.server.port: 7575
|
|
|
|
# Optional: SSO Protection (disabled for dashboard access)
|
|
# traefik.http.routers.homarr.middlewares: tinyauth
|
|
|
|
networks:
|
|
homelab:
|
|
external: true
|