This commit is contained in:
Gregory Burd 2023-11-22 14:24:23 -05:00
parent dcb8a44f74
commit c8989f4a35
2 changed files with 19 additions and 1 deletions

View file

@ -33,6 +33,20 @@ This deploys Drone.io, CI builder for Forgejo (was Gitea).
1. Delete the Docker Engine from your local system.
1. You probably want to scale your remote Daemon: `fly scale vm dedicated-cpu-2x` and `fly scale memory 2048`
```shell
docker run --detach \
--volume=/var/run/docker.sock:/var/run/docker.sock \
--env=DRONE_RPC_PROTO=https \
--env=DRONE_RPC_HOST=build.burd.me \
--env=DRONE_RPC_SECRET=70619c6241d757e8935c9a7d \
--env=DRONE_RUNNER_CAPACITY=2 \
--env=DRONE_RUNNER_NAME=my-laptop-runner \
--publish=3000:3000 \
--name=runner \
drone/drone-runner-docker:1
```
--restart=always \
# NOTES:
* https://docs.drone.io/server/provider/gitea/

View file

@ -9,6 +9,7 @@ kill_signal = "SIGINT"
kill_timeout = "5s"
[experimental]
allowed_public_ports = []
auto_rollback = true
[build]
@ -18,7 +19,7 @@ kill_timeout = "5s"
DRONE_JSONNET_ENABLED = "true"
DRONE_REGISTRATION_CLOSED = "true"
DRONE_RPC_HOST = "build.burd.me"
DRONE_RPC_PROTO = "https"
DRONE_RPC_PROTO = "http"
DRONE_RUNNER_CAPACITY = "1"
DRONE_SERVER_HOST = "build.burd.me"
DRONE_SERVER_PROTO = "https"
@ -34,8 +35,10 @@ kill_timeout = "5s"
processes = ["server"]
[[services]]
http_checks = []
protocol = "tcp"
internal_port = 80
script_checks = []
processes = ["server"]
[[services.ports]]
@ -54,4 +57,5 @@ kill_timeout = "5s"
[[services.tcp_checks]]
interval = "15s"
timeout = "2s"
restart_limit = 0
grace_period = "1s"