Add docker and woodpecker agent

main
mat ess 2022-08-26 23:01:31 -04:00
parent 8932313180
commit 5070619286
2 changed files with 47 additions and 2 deletions

View File

@ -1,7 +1,8 @@
app = "rem" app = "docker-mat-services"
kill_signal = "SIGINT" kill_signal = "SIGINT"
kill_timeout = 5 kill_timeout = 5
[[mounts]] [[mounts]]
destination = "/data" destination = "/data"
source = "data" source = "docker_data"

44
woodpecker-agent/fly.toml Normal file
View File

@ -0,0 +1,44 @@
# fly.toml file generated for woodpecker-agent-mat-services on 2022-08-26T22:45:39-04:00
app = "woodpecker-agent-mat-services"
kill_signal = "SIGINT"
kill_timeout = 5
[build]
image = "woodpeckerci/woodpecker-agent:latest"
[env]
WOODPECKER_SERVER = "woodpecker-mat-services.internal:9000"
WOODPECKER_HOSTNAME = "woodpecker-agent-mat-services"
WOODPECKER_BACKEND = "docker"
DOCKER_HOST = "tcp://[fdaa:0:742b:a7b:ab2:1:9d2b:2]:2375"
[experimental]
allowed_public_ports = []
auto_rollback = true
# [[services]]
# 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"