From 1d9f5400e2b2822ae57111b8ca46f6cab18e8207 Mon Sep 17 00:00:00 2001 From: mat ess Date: Fri, 26 Aug 2022 22:24:01 -0400 Subject: [PATCH] Add woodpecker --- woodpecker/fly.toml | 49 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 woodpecker/fly.toml diff --git a/woodpecker/fly.toml b/woodpecker/fly.toml new file mode 100644 index 0000000..3328a82 --- /dev/null +++ b/woodpecker/fly.toml @@ -0,0 +1,49 @@ +# fly.toml file generated for woodpecker-mat-services on 2022-08-26T22:08:48-04:00 + +app = "woodpecker-mat-services" +kill_signal = "SIGINT" +kill_timeout = 5 + +[build] + image = "woodpeckerci/woodpecker-server:latest" + +[env] + WOODPECKER_GITEA = "true" + WOODPECKER_GITEA_URL = "https://git.mat.services" + WOODPECKER_HOST = "https://build.mat.services" + WOODPECKER_OPEN = "false" + WOODPECKER_ADMIN = "mat,jay" + +[experimental] + allowed_public_ports = [] + auto_rollback = true + +[mounts] + destination = "/var/lib/woodpecker" + source = "woodpecker_data" + +[[services]] + http_checks = [] + internal_port = 8000 + 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"