-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously we were translating them in the `Dockerfile`, but that was requiring running the command in a shell, which interferes with signals. Also it means it only works when running in Docker. Instead, we can check the environment variables when setting up the default values. We allow them to be set with or without a prefix, to avoid name clashes. For example, `--http-port` can be set in the environment as either `HTTP_PORT` or `MPROXY_HTTP_PORT`.
- Loading branch information
1 parent
4269c8e
commit 1982299
Showing
3 changed files
with
53 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters