#### NETWORKS networks: docker-traefik_front_network: external: true back_network: driver: bridge attachable: true #### SERVICES services: ### homarr homarr: container_name: homarr-app hostname: homarr-app image: ghcr.io/ajnart/homarr:latest restart: unless-stopped volumes: - /var/run/docker.sock:/var/run/docker.sock - ./configs:/app/data/configs - ./icons:/app/public/icons - ./data:/data environment: - TZ=Europe/Paris networks: - docker-traefik_front_network labels: - "traefik.enable=true" - "traefik.docker.network=docker-traefik_front_network" ## HTTP - "traefik.http.routers.homarr-http.rule=Host(`homarr.10.0.4.29.traefik.me`)" - "traefik.http.routers.homarr-http.entrypoints=http" ## HTTPS - "traefik.http.routers.homarr-https.rule=Host(`homarr.10.0.4.29.traefik.me`)" - "traefik.http.routers.homarr-https.entrypoints=https" - "traefik.http.routers.homarr-https.tls=true" - "traefik.http.routers.homarr.service=homarr-service" ## Middleware ## Service - "traefik.http.services.homarr-service.loadbalancer.server.port=7575"