awesome-stacks/stacks/nitter.yml
2024-10-07 01:24:30 +02:00

18 lines
656 B
Docker

# DOMAIN=example.com docker stack deploy -c nitter.yml nitter
services:
web:
image: zedeus/nitter:${VERSION:-latest}
deploy:
labels:
- traefik.enable=true
- traefik.http.routers.nitter-${NUMBER:-1}.rule=Host(`${DOMAIN:-nitter.localhost}`)
- traefik.http.routers.nitter-${NUMBER:-1}.entrypoints=${SCHEME:-https}
- traefik.http.routers.nitter-${NUMBER:-1}.service=nitter-${NUMBER:-1}
- traefik.http.routers.nitter-${NUMBER:-1}.tls.certresolver=letsencrypt
- traefik.http.services.nitter-${NUMBER:-1}.loadbalancer.server.port=8080
networks:
default:
external: true
name: traefik-net