confetti-api/docker-compose.yaml
hook-lord 58a1693fec
All checks were successful
Build and Push / build (push) Successful in 1m31s
traefik
2024-09-14 07:15:21 +02:00

17 lines
885 B
YAML

services:
confetti-api:
image: gitea.rannes.dev/rannes.dev/confetti-api:main
ports:
- 7070:7070
restart: always
labels:
- traefik.enable=true
- traefik.http.routers.confetti-apiRouter.rule=Host(`confetti.rannes.dev`)
- traefik.http.services.confetti-apiService.loadbalancer.server.port=7070
- traefik.http.routers.confetti-apiRouter.service=confetti-apiService
- traefik.http.routers.confetti-apiRouter.tls=true
- traefik.http.routers.confetti-apiRouter.entryPoints=https
- traefik.http.middlewares.confetti-api-cors.headers.accesscontrolallowmethods=GET,OPTIONS, POST
- traefik.http.middlewares.confetti-api-cors.headers.accesscontrolallowheaders=*
- traefik.http.middlewares.confetti-api-cors.headers.accesscontrolalloworigin=*
- traefik.http.middlewares.confetti-api-cors.headers.addvaryheader=true