confetti-api/docker-compose.yaml

17 lines
843 B
YAML
Raw Normal View History

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-14 05:01:56 +00:00
- traefik.http.services.confetti-api.loadbalancer.server.port=8020
- traefik.http.routers.jellyfinrouter.service=confetti-api
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.middlewares.confetti-api-cors.headers.accesscontrolallowmethods=GET,OPTIONS
2024-09-13 23:35:06 +00:00
- traefik.http.middlewares.confetti-api-cors.headers.accesscontrolallowheaders=*
2024-09-13 23:24:50 +00:00
- traefik.http.middlewares.confetti-api-cors.headers.accesscontrolalloworigin=*
- traefik.http.middlewares.confetti-api-cors.headers.addvaryheader=true