DokployD
Dokploy13mo ago
2 replies
Pablopvsky

traefik

Is there a way to add basic auth to docker compose with labes for traefik?
... 
labels:
      - traefik.enable=true
      - traefik.http.routers.next-app.rule=Host(`next-app.dokploy.com`)
      - traefik.http.routers.next-app.entrypoints=websecure
      - traefik.http.routers.next-app.tls.certResolver=letsencrypt
      - traefik.http.services.next-app.loadbalancer.server.port=3000
...
Was this page helpful?