traefik labels
All checks were successful
Build and Push / build (push) Successful in 1m31s

This commit is contained in:
hook-lord 2024-09-14 00:51:29 +02:00
parent 820d8377a4
commit 8f6edae662

View File

@ -3,4 +3,10 @@ services:
image: gitea.rannes.dev/rannes.dev/confetti-api:main image: gitea.rannes.dev/rannes.dev/confetti-api:main
ports: ports:
- 8080:8080 - 8080:8080
restart: always restart: always
labels:
- traefik.enable=true
- traefik.http.routers.confetti-api.rule=Host(`confetti.rannes.dev`)
- traefik.http.routers.confetti-api.entrypoints=http
- traefik.http.routers.confetti-api.service=confetti-api
- traefik.http.services.confetti-api.loadbalancer.server.port=8080