Skip to content

Commit 013f2c6

Browse files
author
Jake Gealer
committed
change DOCKER_ to CADDY_DOCKER_
1 parent bd7818f commit 013f2c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ CADDY_DOCKER_MODE=<string>
521521
CADDY_DOCKER_POLLING_INTERVAL=<duration>
522522
CADDY_DOCKER_PROCESS_CADDYFILE=<bool>
523523
CADDY_DOCKER_PROXY_SERVICE_TASKS=<bool>
524-
DOCKER_NO_SCOPE=<bool, default scope used>
524+
CADDY_DOCKER_NO_SCOPE=<bool, default scope used>
525525
```
526526
527527
Check **examples** folder to see how to set them on a Docker Compose file.

loader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func (dockerLoader *DockerLoader) monitorEvents() {
168168

169169
func (dockerLoader *DockerLoader) listenEvents() {
170170
args := filters.NewArgs()
171-
if !isTrue.MatchString(os.Getenv("DOCKER_NO_SCOPE")) {
171+
if !isTrue.MatchString(os.Getenv("CADDY_DOCKER_NO_SCOPE")) {
172172
// This env var is useful for Podman where in some instances the scope can cause some issues.
173173
args.Add("scope", "swarm")
174174
args.Add("scope", "local")

0 commit comments

Comments
 (0)