51 lines
1021 B
TOML
51 lines
1021 B
TOML
|
# fly.toml file generated for drone-mat-services on 2022-10-18T23:11:25-04:00
|
||
|
|
||
|
app = "drone-mat-services"
|
||
|
kill_signal = "SIGINT"
|
||
|
kill_timeout = 5
|
||
|
|
||
|
[processes]
|
||
|
server = "/bin/drone-server"
|
||
|
runner = "/bin/drone-runner-docker"
|
||
|
|
||
|
[build]
|
||
|
|
||
|
[env]
|
||
|
DRONE_GITEA_SERVER = "https://git.mat.services"
|
||
|
DRONE_SERVER_HOST = "build.mat.services"
|
||
|
DRONE_JSONNET_ENABLED = true
|
||
|
DRONE_REGISTRATION_CLOSED = true
|
||
|
DRONE_RPC_HOST = "localhost"
|
||
|
DRONE_RPC_PROTO = "http"
|
||
|
|
||
|
[experimental]
|
||
|
allowed_public_ports = []
|
||
|
auto_rollback = true
|
||
|
|
||
|
[[services]]
|
||
|
processes = ["server"]
|
||
|
http_checks = []
|
||
|
internal_port = 8080
|
||
|
processes = ["app"]
|
||
|
protocol = "tcp"
|
||
|
script_checks = []
|
||
|
[services.concurrency]
|
||
|
hard_limit = 25
|
||
|
soft_limit = 20
|
||
|
type = "connections"
|
||
|
|
||
|
[[services.ports]]
|
||
|
force_https = true
|
||
|
handlers = ["http"]
|
||
|
port = 80
|
||
|
|
||
|
[[services.ports]]
|
||
|
handlers = ["tls", "http"]
|
||
|
port = 443
|
||
|
|
||
|
[[services.tcp_checks]]
|
||
|
grace_period = "1s"
|
||
|
interval = "15s"
|
||
|
restart_limit = 0
|
||
|
timeout = "2s"
|