diff --git a/nodes/heimdall/homarr/compose.yaml b/nodes/heimdall/homarr/compose.yaml new file mode 100644 index 0000000..e574c56 --- /dev/null +++ b/nodes/heimdall/homarr/compose.yaml @@ -0,0 +1,23 @@ +services: + homarr: + container_name: homarr + image: ghcr.io/homarr-labs/homarr:latest + restart: unless-stopped + networks: + - proxy-net + volumes: + - /mnt/appdata/homarr/data:/appdata + environment: + - DOCKER_HOST=tcp://docker-socket-proxy:2375 + - SECRET_ENCRYPTION_KEY=${SECRET_ENCRYPTION_KEY} # Generate a random 32-character string for this + labels: + - "traefik.enable=true" + - "traefik.http.routers.homarr.entrypoints=websecure" + - "traefik.http.routers.homarr.rule=Host(`homarr.castaldifamily.com`)" + - "traefik.http.routers.homarr.tls=true" + - "traefik.http.routers.homarr.tls.certresolver=cloudflare" + - "traefik.http.routers.homarr.service=homarr" + - "traefik.http.services.homarr.loadbalancer.server.port=7575" +networks: + proxy-net: + external: true \ No newline at end of file