services: dumbwhois: image: dumbwareio/dumbwhois:latest networks: - traefik_traefik_proxy deploy: mode: replicated replicas: 15 restart_policy: condition: on-failure labels: # Enable Service discovery for Traefik - "traefik.enable=true" # Define the dumbwhois router rule - "traefik.http.routers.dumbwhois.rule=Host(`dumbwhois.lan.xbazzi.com`)" # Expose dumbwhois on the HTTPS entrypoint - "traefik.http.routers.dumbwhois.entrypoints=websecure" # - "traefik.http.routers.dumbwhois.entrypoints=web" # Enable TLS - "traefik.http.routers.dumbwhois.tls=true" # - "traefik.http.routers.dumbwhois.tls=false" # Expose the dumbwhois port number to Traefik - "traefik.http.services.dumbwhois.loadbalancer.server.port=3000" # Custom labels - "com.xbazzi.stack=dumbwhois" - "com.xbazzi.critical=false" placement: constraints: - node.labels.zone == core - node.labels.type != db networks: traefik_traefik_proxy: external: true