dev launch mode

This commit is contained in:
mr 2025-03-06 09:32:50 +01:00
parent 563869ac20
commit 1d791316f2
3 changed files with 7 additions and 1 deletions

View File

@ -6,6 +6,9 @@ build: clean
run:
bee run -gendoc=true -downdoc=true
dev:
bee generate routers && HTTPPORT=8088 bee run -gendoc=true -downdoc=true
debug:
bee run -downdebug -gendebug

View File

@ -7,6 +7,9 @@ To build :
bee generate routers
bee run -gendoc=true -downdoc=true
OR
make dev
If default Swagger page is displayed instead of tyour api, change url in swagger/index.html file to :
url: "swagger.json"

View File

@ -16,7 +16,7 @@ services:
- "traefik.http.routers.workflow.rule=PathPrefix(`/workflow`)"
- "traefik.http.services.workflow.loadbalancer.server.port=8080"
- "traefik.http.middlewares.workflow-rewrite.replacepathregex.regex=^/workflow(.*)"
- "traefik.http.middlewares.workflow-rewrite.replacepathregex.replacement=/oc$$1"
- "traefik.http.middlewares.workflow-rewrite.replacepathregex.replacement=/oc$1"
- "traefik.http.routers.workflow.middlewares=workflow-rewrite"
- "traefik.http.middlewares.workflow.forwardauth.address=http://oc-auth:8080/oc/forward"
networks: