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