feat: add initial Homarr service configuration to Docker Compose
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
parent
76ec1dd86d
commit
9ec82f19c7
23
nodes/heimdall/homarr/compose.yaml
Normal file
23
nodes/heimdall/homarr/compose.yaml
Normal file
@ -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
|
||||||
Loading…
x
Reference in New Issue
Block a user