add dashboard app

This commit is contained in:
Schneider Roland 2025-10-19 18:45:26 +02:00
parent be150bb486
commit 74d804165d

View File

@ -0,0 +1,33 @@
#---------------------------------------------------------------------#
# Homarr - A simple, yet powerful dashboard for your server. #
#---------------------------------------------------------------------#
services:
homarr:
container_name: homarr
labels:
- "traefik.enable=true"
- traefik.docker.network=traefik_traefik
- traefik.http.routers.dashboard-private.rule=Host(`dashboard.local`)
- traefik.http.routers.dashboard-private.entrypoints=web
- traefik.http.routers.dashboard-private.service=dashboard-private
- traefik.http.services.dashboard-private.loadbalancer.server.port=7878
image: ghcr.io/homarr-labs/homarr:latest
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- homarr_data:/appdata
environment:
- SECRET_ENCRYPTION_KEY=8bfcd12a5055f792d783a2b2bffc1234a88e1589801fa48d92da0c76facefacc
ports:
- '7575:7575'
networks:
- traefik_traefik
volumes:
homarr_data: {}
networks:
traefik_traefik:
external: true