17 lines
885 B
YAML
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 |