57 lines
1.2 KiB
TOML
57 lines
1.2 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 = "bos"
|
|
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_HOST = "build.burd.me"
|
|
DRONE_RPC_PROTO = "https"
|
|
DRONE_RUNNER_CAPACITY = "1"
|
|
DRONE_SERVER_HOST = "build.burd.me"
|
|
DRONE_SERVER_PROTO = "https"
|
|
DRONE_USER_FILTER = "greg"
|
|
|
|
[processes]
|
|
runner = "/bin/drone-runner-docker"
|
|
server = "/bin/drone-server"
|
|
|
|
[[mounts]]
|
|
source = "drone_server_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"
|