added networks duh
All checks were successful
Build and Push / build (push) Successful in 1m31s

This commit is contained in:
hook-lord 2024-09-14 07:27:29 +02:00
parent 1f872793f6
commit c6103e91e3

View File

@ -4,6 +4,8 @@ services:
ports:
- 7070:7070
restart: always
networks:
- traefik-proxy
labels:
- traefik.enable=true
- traefik.http.routers.confetti-apiRouter.rule=Host(`confetti.rannes.dev`)
@ -14,4 +16,8 @@ services:
- traefik.http.middlewares.confetti-api-cors.headers.accesscontrolallowmethods=GET,OPTIONS, POST
- traefik.http.middlewares.confetti-api-cors.headers.accesscontrolallowheaders=Content-Type
- traefik.http.middlewares.confetti-api-cors.headers.accesscontrolalloworigin=*
- traefik.http.routers.confetti-apiRouter.middlewares=confetti-api-cors,crowdsec-bouncer@docker
- traefik.http.routers.confetti-apiRouter.middlewares=confetti-api-cors,crowdsec-bouncer@docker
networks:
traefik-proxy:
external: true