dev launch mode
This commit is contained in:
parent
563869ac20
commit
1d791316f2
3
Makefile
3
Makefile
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user