services: txt-game: build: . restart: unless-stopped environment: - DOMAIN=${DOMAIN:-localhost} labels: - "traefik.enable=true" - "traefik.http.routers.txt-game.rule=Host(`txt.${DOMAIN:-localhost}`)" - "traefik.http.routers.txt-game.entrypoints=websecure" - "traefik.http.routers.txt-game.tls.certresolver=letsencrypt" - "traefik.http.services.txt-game.loadbalancer.server.port=3000" networks: - proxy - default networks: proxy: external: true