api-gateway with depends_on users-api
This commit is contained in:
17
stackfile.toml
Normal file
17
stackfile.toml
Normal file
@@ -0,0 +1,17 @@
|
||||
[app]
|
||||
name = "api-gateway"
|
||||
image = "git.nodeup.ru/stackops/api-gateway:latest"
|
||||
replicas = 1
|
||||
port = 8080
|
||||
|
||||
[depends_on.services]
|
||||
users-api = 8080
|
||||
|
||||
[ingress]
|
||||
host = "gateway.app.nodeup.ru"
|
||||
path = "/"
|
||||
tls = true
|
||||
|
||||
[health]
|
||||
liveness = "/healthz"
|
||||
readiness = "/healthz"
|
||||
Reference in New Issue
Block a user