This commit is contained in:
parent
2bfe034265
commit
2a9848ef2e
@ -33,7 +33,8 @@ jobs:
|
||||
--name bpmn-api \
|
||||
--network traefik \
|
||||
--label "traefik.enable=true" \
|
||||
--label "traefik.http.routers.bpmn-api.rule=Host(\`bpmn-api.koptilnya.xyz\`)" \
|
||||
--label "traefik.http.routers.bpmn-api.rule=Host(\`api.koptilnya.xyz\`) && PathPrefix(\`/bpmn\`)" \
|
||||
--label "traefik.http.middlewares.bpmn-api.stripprefix.prefixes=/bpmn" \
|
||||
--label "traefik.http.routers.bpmn-api.entrypoints=websecure" \
|
||||
--label "traefik.http.routers.bpmn-api.tls.certresolver=myresolver" \
|
||||
--label "traefik.http.services.bpmn-api.loadbalancer.server.port=80" \
|
||||
|
||||
@ -7,6 +7,7 @@ COPY package*.json ./
|
||||
USER node
|
||||
RUN yarn install
|
||||
COPY --chown=node:node . .
|
||||
ENV HOST=api.koptilnya.xyz
|
||||
ENV PORT=80
|
||||
EXPOSE 80
|
||||
CMD [ "npm", "start" ]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user