This commit is contained in:
parent
eee5cb2fef
commit
22c0aa3a19
2
main.go
2
main.go
@ -50,7 +50,7 @@ func main() {
|
||||
serverAddr := pflag.StringP("address", "a", ":8080", "Webhook server address")
|
||||
genHash := pflag.BoolP("gen-hash", "g", false, "Generate a password hash for webhooks")
|
||||
useEnv := pflag.BoolP("use-env", "E", false, "Use environment variables for configuration")
|
||||
debug := pflag.BoolP("debug", "d", false, "Enable debug logging")
|
||||
debug := pflag.BoolP("debug", "D", false, "Enable debug logging")
|
||||
pflag.Parse()
|
||||
|
||||
if *debug {
|
||||
|
@ -42,7 +42,7 @@ job "lure-updater" {
|
||||
config {
|
||||
image = "alpine:latest"
|
||||
command = "/opt/lure-updater/lure-updater"
|
||||
args = ["-dE"]
|
||||
args = ["-DE"]
|
||||
ports = ["webhook"]
|
||||
volumes = ["local/lure-updater/:/opt/lure-updater:ro"]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user