Skip to content

Commit

Permalink
fix bug in create service
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuamshana committed Jan 1, 2022
1 parent ad4d6f2 commit cc6ef1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/factories/swarm-orchestration.factory.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export class SwarmOrchestrationFactory extends OrchestrationAdapter {
"--label \"traefik.docker.network=bfastweb\"",
"--label \"traefik.enable=true\"",
"--label \"traefik.http.services.${projectId}-faas.loadbalancer.server.port=3000\"",
"--label \"traefik.http.routers.${projectId}-faas.rule=Host(\`${projectId}-faas.${cluster}.${hostDomain}\`)\"",
"--label \"traefik.http.routers.${projectId}-faas.rule=Host(\\`${projectId}-faas.${cluster}.${hostDomain}\\`)\"",
"--label \"traefik.http.services.${projectId}-faas.loadbalancer.sticky.cookie=true\"",
`--env \"WEB_3_TOKEN=${process.env.WEB_3_TOKEN}\"`,
"--env \"APPLICATION_ID=${appId}\"",
Expand Down Expand Up @@ -281,7 +281,7 @@ export class SwarmOrchestrationFactory extends OrchestrationAdapter {
"--label \"traefik.docker.network=bfastweb\"",
"--label \"traefik.enable=true\"",
"--label \"traefik.http.services.${projectId}-daas.loadbalancer.server.port=3000\"",
"--label \"traefik.http.routers.${projectId}-daas.rule=Host(\`${projectId}-daas.${cluster}.${hostDomain}\`)\"",
"--label \"traefik.http.routers.${projectId}-daas.rule=Host(\\`${projectId}-daas.${cluster}.${hostDomain}\\`)\"",
"--label \"traefik.http.services.${projectId}-daas.loadbalancer.sticky.cookie=true\"",
"--env \"APPLICATION_ID=${appId}\"",
`--env \"WEB_3_TOKEN=${process.env.WEB_3_TOKEN}\"`,
Expand Down

0 comments on commit cc6ef1b

Please sign in to comment.