56 lines
1.1 KiB
TOML
56 lines
1.1 KiB
TOML
|
# fly.toml app configuration file generated for burd-infra-drone on 2023-10-17T16:27:21-04:00
|
||
|
#
|
||
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||
|
#
|
||
|
|
||
|
app = "burd-infra-drone"
|
||
|
primary_region = "sea"
|
||
|
kill_signal = "SIGINT"
|
||
|
kill_timeout = "5s"
|
||
|
|
||
|
[experimental]
|
||
|
auto_rollback = true
|
||
|
|
||
|
[build]
|
||
|
|
||
|
[env]
|
||
|
DRONE_GITEA_SERVER = "https://git.burd.me"
|
||
|
DRONE_JSONNET_ENABLED = "true"
|
||
|
DRONE_REGISTRATION_CLOSED = "true"
|
||
|
DRONE_RPC_PROTO = "http"
|
||
|
DRONE_RUNNER_CAPACITY = "1"
|
||
|
DRONE_SERVER_HOST = "build.burd.me"
|
||
|
DRONE_SERVER_PROTO = "https"
|
||
|
|
||
|
[processes]
|
||
|
runner = "/bin/drone-runner-docker"
|
||
|
server = "/bin/drone-server"
|
||
|
|
||
|
[[mounts]]
|
||
|
source = "drone_data"
|
||
|
destination = "/data"
|
||
|
processes = ["server"]
|
||
|
|
||
|
[[services]]
|
||
|
protocol = "tcp"
|
||
|
internal_port = 80
|
||
|
processes = ["server"]
|
||
|
|
||
|
[[services.ports]]
|
||
|
port = 80
|
||
|
handlers = ["http"]
|
||
|
force_https = true
|
||
|
|
||
|
[[services.ports]]
|
||
|
port = 443
|
||
|
handlers = ["tls", "http"]
|
||
|
[services.concurrency]
|
||
|
type = "connections"
|
||
|
hard_limit = 25
|
||
|
soft_limit = 20
|
||
|
|
||
|
[[services.tcp_checks]]
|
||
|
interval = "15s"
|
||
|
timeout = "2s"
|
||
|
grace_period = "1s"
|