Created deployment
This commit is contained in:
@@ -64,7 +64,7 @@ services:
|
||||
test:
|
||||
[
|
||||
"CMD-SHELL",
|
||||
"node -e \"fetch('http://localhost:' + (process.env.PORT || 3000) + '/health').then(r => { if (!r.ok) process.exit(1) }).catch(() => process.exit(1))\"",
|
||||
'node -e "fetch(''http://localhost:'' + (process.env.PORT || 3000) + ''/health'').then(r => { if (!r.ok) process.exit(1) }).catch(() => process.exit(1))"',
|
||||
]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
@@ -82,7 +82,6 @@ services:
|
||||
- "traefik.http.routers.sf-sims-secure.tls=true"
|
||||
- "traefik.http.routers.sf-sims-secure.service=sf-sims"
|
||||
- "traefik.http.routers.sf-sims-secure.tls.certresolver=myresolver"
|
||||
- "traefik.http.routers.sf-sims-secure.middlewares=tailscale-ipwhitelist@file"
|
||||
- "traefik.http.services.sf-sims.loadbalancer.server.port=${PORT}"
|
||||
- "traefik.docker.network=proxy"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user