17 lines
843 B
YAML
17 lines
843 B
YAML
services:
|
|
confetti-api:
|
|
image: gitea.rannes.dev/rannes.dev/confetti-api:main
|
|
ports:
|
|
- 8020:8080
|
|
restart: always
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.http.routers.confetti-api.rule=Host(`confetti.rannes.dev`)
|
|
- traefik.http.services.confetti-api.loadbalancer.server.port=8020
|
|
- traefik.http.routers.jellyfinrouter.service=confetti-api
|
|
- traefik.http.routers.confetti-api.tls=true
|
|
- traefik.http.routers.confetti-api.entryPoints=https
|
|
- traefik.http.middlewares.confetti-api-cors.headers.accesscontrolallowmethods=GET,OPTIONS
|
|
- 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 |