updates
This commit is contained in:
parent
dcb8a44f74
commit
c8989f4a35
2 changed files with 19 additions and 1 deletions
|
@ -33,6 +33,20 @@ This deploys Drone.io, CI builder for Forgejo (was Gitea).
|
||||||
1. Delete the Docker Engine from your local system.
|
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`
|
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:
|
# NOTES:
|
||||||
|
|
||||||
* https://docs.drone.io/server/provider/gitea/
|
* https://docs.drone.io/server/provider/gitea/
|
||||||
|
|
|
@ -9,6 +9,7 @@ kill_signal = "SIGINT"
|
||||||
kill_timeout = "5s"
|
kill_timeout = "5s"
|
||||||
|
|
||||||
[experimental]
|
[experimental]
|
||||||
|
allowed_public_ports = []
|
||||||
auto_rollback = true
|
auto_rollback = true
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
|
@ -18,7 +19,7 @@ kill_timeout = "5s"
|
||||||
DRONE_JSONNET_ENABLED = "true"
|
DRONE_JSONNET_ENABLED = "true"
|
||||||
DRONE_REGISTRATION_CLOSED = "true"
|
DRONE_REGISTRATION_CLOSED = "true"
|
||||||
DRONE_RPC_HOST = "build.burd.me"
|
DRONE_RPC_HOST = "build.burd.me"
|
||||||
DRONE_RPC_PROTO = "https"
|
DRONE_RPC_PROTO = "http"
|
||||||
DRONE_RUNNER_CAPACITY = "1"
|
DRONE_RUNNER_CAPACITY = "1"
|
||||||
DRONE_SERVER_HOST = "build.burd.me"
|
DRONE_SERVER_HOST = "build.burd.me"
|
||||||
DRONE_SERVER_PROTO = "https"
|
DRONE_SERVER_PROTO = "https"
|
||||||
|
@ -34,8 +35,10 @@ kill_timeout = "5s"
|
||||||
processes = ["server"]
|
processes = ["server"]
|
||||||
|
|
||||||
[[services]]
|
[[services]]
|
||||||
|
http_checks = []
|
||||||
protocol = "tcp"
|
protocol = "tcp"
|
||||||
internal_port = 80
|
internal_port = 80
|
||||||
|
script_checks = []
|
||||||
processes = ["server"]
|
processes = ["server"]
|
||||||
|
|
||||||
[[services.ports]]
|
[[services.ports]]
|
||||||
|
@ -54,4 +57,5 @@ kill_timeout = "5s"
|
||||||
[[services.tcp_checks]]
|
[[services.tcp_checks]]
|
||||||
interval = "15s"
|
interval = "15s"
|
||||||
timeout = "2s"
|
timeout = "2s"
|
||||||
|
restart_limit = 0
|
||||||
grace_period = "1s"
|
grace_period = "1s"
|
||||||
|
|
Loading…
Reference in a new issue