Skip to content

Commit

Permalink
dont use env var for noFilter
Browse files Browse the repository at this point in the history
- env vars from fly.toml arent being passed in when builder is instantiated. so bake the noFilter setting into the src code.
  • Loading branch information
timflyio committed Jul 23, 2024
1 parent 224cd32 commit baf6de6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion dockerproxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var (
noAuth = os.Getenv("NO_AUTH") == "1"
noAppName = os.Getenv("NO_APP_NAME") == "1"
noHttps = os.Getenv("NO_HTTPS") == "1"
noFilter = os.Getenv("NO_FILTER") == "1"
noFilter = true

// build variables
gitSha string
Expand Down
1 change: 0 additions & 1 deletion fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ kill_timeout = '5s'
ALLOW_ORG_SLUG = 'fly'
DATA_DIR = '/data'
LOG_LEVEL = 'info'
NO_FILTER = '1'

[[mounts]]
source = 'data'
Expand Down

0 comments on commit baf6de6

Please sign in to comment.