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: ports:
- 7070:7070 - 7070:7070
restart: always restart: always
networks:
- traefik-proxy
labels: labels:
- traefik.enable=true - traefik.enable=true
- traefik.http.routers.confetti-apiRouter.rule=Host(`confetti.rannes.dev`) - traefik.http.routers.confetti-apiRouter.rule=Host(`confetti.rannes.dev`)
@ -15,3 +17,7 @@ services:
- traefik.http.middlewares.confetti-api-cors.headers.accesscontrolallowheaders=Content-Type - 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.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