Add woodpecker

main
mat ess 2022-08-26 22:24:01 -04:00
parent ef6d8fbfc9
commit 1d9f5400e2
1 changed files with 49 additions and 0 deletions

49
woodpecker/fly.toml Normal file
View File

@ -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"