diff --git a/docker-compose.yaml b/docker-compose.yaml index 41f12d1..888850e 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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 \ No newline at end of file + - traefik.http.routers.confetti-apiRouter.middlewares=confetti-api-cors,crowdsec-bouncer@docker + +networks: + traefik-proxy: + external: true \ No newline at end of file