diff --git a/README.md b/README.md index aef24b81d..98dd4d143 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,8 @@ user="" pass="" [worker] +cert="" +key="" nodes=[ "unix:///var/run/docker.sock", "unix:///var/run/docker.sock" diff --git a/packaging/root/etc/drone/drone.toml b/packaging/root/etc/drone/drone.toml index 06d17a9e7..a53f2e1f0 100644 --- a/packaging/root/etc/drone/drone.toml +++ b/packaging/root/etc/drone/drone.toml @@ -65,6 +65,8 @@ datasource="/var/lib/drone/drone.sqlite" # pass="" # [worker] +# cert="" +# key="" # nodes=[ # "unix:///var/run/docker.sock", # "unix:///var/run/docker.sock" diff --git a/server/main.go b/server/main.go index abdbc6788..e55e29dc6 100644 --- a/server/main.go +++ b/server/main.go @@ -60,9 +60,8 @@ var ( pub *pubsub.PubSub // Docker configuration details. - tlscacert = config.String("docker-tlscacert", "") - tlscert = config.String("docker-tlscert", "") - tlskey = config.String("docker-tlskey", "") + dockercrt = config.String("docker-cert", "") + dockerkey = config.String("docker-key", "") nodes StringArr db *sql.DB