Add deployment configs

This commit is contained in:
Riordan Panayides 2023-02-03 11:31:18 +00:00
parent 1233cc58f3
commit 6dfe88ac15
2 changed files with 46 additions and 0 deletions

23
cd/fills.toml Normal file
View File

@ -0,0 +1,23 @@
app = "mango-fills"
kill_signal = "SIGINT"
kill_timeout = 5
[build]
dockerfile = "../Dockerfile"
[experimental]
cmd = ["service-mango-fills", "fills-config.toml"]
[[services]]
internal_port = 8080
processes = ["app"]
protocol = "tcp"
[services.concurrency]
hard_limit = 1024
soft_limit = 1024
type = "connections"
[metrics]
path = "/metrics"
port = 9091

23
cd/orderbook.toml Normal file
View File

@ -0,0 +1,23 @@
app = "mango-orderbook"
kill_signal = "SIGINT"
kill_timeout = 5
[build]
dockerfile = "../Dockerfile"
[experimental]
cmd = ["service-mango-orderbook", "orderbook-config.toml"]
[[services]]
internal_port = 8082
processes = ["app"]
protocol = "tcp"
[services.concurrency]
hard_limit = 1024
soft_limit = 1024
type = "connections"
[metrics]
path = "/metrics"
port = 9091