This commit is contained in:
parent
1f872793f6
commit
c6103e91e3
@ -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
|
Loading…
Reference in New Issue
Block a user