2024-09-13 22:47:50 +00:00
|
|
|
services:
|
|
|
|
confetti-api:
|
|
|
|
image: gitea.rannes.dev/rannes.dev/confetti-api:main
|
|
|
|
ports:
|
2024-09-13 22:56:43 +00:00
|
|
|
- 8020:8080
|
2024-09-13 22:51:29 +00:00
|
|
|
restart: always
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.http.routers.confetti-api.rule=Host(`confetti.rannes.dev`)
|
2024-09-13 23:03:22 +00:00
|
|
|
- traefik.http.services.confetti-api.loadbalancer.server.port=8020
|
2024-09-13 23:06:51 +00:00
|
|
|
- traefik.http.routers.confetti-api.tls=true
|
|
|
|
- traefik.http.routers.confetti-api.entryPoints=https
|
2024-09-13 23:24:50 +00:00
|
|
|
- traefik.http.routers.confetti-api.middlewares=crowdsec-bouncer@docker,confetti-api-cors
|
|
|
|
- traefik.http.middlewares.confetti-api-cors.headers.accesscontrolallowmethods=GET,OPTIONS
|
|
|
|
- traefik.http.middlewares.confetti-api-cors.headers.accesscontrolallowheaders=Content-Type
|
|
|
|
- traefik.http.middlewares.confetti-api-cors.headers.accesscontrolalloworigin=*
|
|
|
|
- traefik.http.middlewares.confetti-api-cors.headers.addvaryheader=true
|