49 lines
892 B
TOML
49 lines
892 B
TOML
app = "gallus-pub"
|
|
primary_region = "fra"
|
|
kill_signal = "SIGINT"
|
|
kill_timeout = 5
|
|
|
|
[build]
|
|
dockerfile = "Dockerfile"
|
|
|
|
[env]
|
|
PORT = "3000"
|
|
NODE_ENV = "production"
|
|
BACKEND_PORT = "8080"
|
|
DATABASE_PATH = "/app/data/db/gallus_cms.db"
|
|
GIT_WORKSPACE_DIR = "/app/data/workspace"
|
|
|
|
[http_service]
|
|
internal_port = 3000
|
|
force_https = true
|
|
auto_stop_machines = true
|
|
auto_start_machines = true
|
|
min_machines_running = 0
|
|
processes = ["app"]
|
|
|
|
[http_service.concurrency]
|
|
type = "connections"
|
|
hard_limit = 1000
|
|
soft_limit = 500
|
|
|
|
[[http_service.checks]]
|
|
interval = "30s"
|
|
timeout = "5s"
|
|
grace_period = "30s"
|
|
method = "GET"
|
|
path = "/"
|
|
protocol = "http"
|
|
tls_skip_verify = false
|
|
|
|
[metrics]
|
|
port = 9091
|
|
path = "/metrics"
|
|
|
|
[[vm]]
|
|
memory = "512MB"
|
|
cpu_kind = "shared"
|
|
cpus = 1
|
|
|
|
[[mounts]]
|
|
source = "gallus_data"
|
|
destination = "/app/data" |