From f63f717ec23724c68c1ada5d0fd59e319da8184d Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Thu, 15 Aug 2019 15:40:02 -0700 Subject: [PATCH] use http_ instead of server_ variables for clarity --- .gitignore | 2 ++ daemon/config.go | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index ae31923..822a47e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ drone-runner-exec drone-runner-exec.exe release/* +docs/public/* +docs/themes/* .env NOTES* diff --git a/daemon/config.go b/daemon/config.go index 297ad67..97d8c71 100644 --- a/daemon/config.go +++ b/daemon/config.go @@ -49,10 +49,11 @@ type Config struct { } Server struct { - Proto string `envconfig:"DRONE_SERVER_PROTO"` - Host string `envconfig:"DRONE_SERVER_HOST"` - Port string `envconfig:"DRONE_SERVER_PORT" default:":3000"` - Acme bool `envconfig:"DRONE_SERVER_ACME"` + Proto string `envconfig:"DRONE_HTTP_PROTO"` + Host string `envconfig:"DRONE_HTTP_HOST"` + Port string `envconfig:"DRONE_HTTP_BIND" default:":3000"` + Acme bool `envconfig:"DRONE_ACME_ENABLED"` + Email string `envconfig:"DRONE_ACME_EMAIL"` } Runner struct {