services: glance: container_name: glance image: glanceapp/glance restart: unless-stopped volumes: - ./config:/app/config:ro - ./assets:/app/assets:ro - /etc/localtime:/etc/localtime:ro - /var/run/docker.sock:/var/run/docker.sock:ro env_file: .env labels: - "traefik.enable=true" - "traefik.docker.network=traefik-proxy" # Prod Router - "traefik.http.routers.glance.rule=Host(`glance.forust.xyz`)" - "traefik.http.routers.glance.entrypoints=websecure" - "traefik.http.routers.glance.middlewares=security-chain@file" - "traefik.http.routers.glance.tls=true" # Local Router - "traefik.http.routers.glance-local.rule=Host(`glance.workstation.internal`) || Host(`glance.internal`)" - "traefik.http.routers.glance-local.entrypoints=websecure" - "traefik.http.routers.glance-local.middlewares=security-headers@file" - "traefik.http.routers.glance-local.tls=true" # Dev Router - "traefik.http.routers.glance-dev.rule=Host(`glance.gigaforust.internal`)" - "traefik.http.routers.glance-dev.entrypoints=websecure" - "traefik.http.routers.glance-dev.middlewares=security-chain@file" - "traefik.http.routers.glance-dev.tls=true" networks: - traefik-proxy dns: - 1.1.1.1 - 8.8.8.8 networks: traefik-proxy: external: true