ansible-on-prem/roles/docker/swarm/stacks/files/dumbwhois-compose.yml
xbazzi e7ba86f10a
All checks were successful
Simple Mirror to GitHub / mirror (push) Successful in 35s
Feat: add scylladb + a bunch of stuff I forgot to commit earlier
2025-08-21 23:43:52 -06:00

36 lines
1.1 KiB
YAML

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