Say that a config file's env: section overrides the environment (closes #128)
check / check (push) Successful in 2m56s
check / check (push) Successful in 2m56s
A variable named in the config file's env: section is set while the file loads, so it overrides both the environment the process was started with and the file's own key. README.md and the config.example.yml header said only that a variable wins over the file; they now state this exception where the precedence is given. Model: opus-5-5
This commit is contained in:
+4
-1
@@ -4,7 +4,10 @@
|
||||
# this file: PIXA_ plus the key in upper case, with "." written as "_"
|
||||
# (state_dir is PIXA_STATE_DIR, metrics.username is
|
||||
# PIXA_METRICS_USERNAME). The one exception is port, which is set by
|
||||
# PORT. In a variable, a list is comma-separated.
|
||||
# PORT. In a variable, a list is comma-separated. A variable named in
|
||||
# this file's env: section is set while the file loads, so it overrides
|
||||
# both the environment the process was started with and this file's own
|
||||
# key.
|
||||
|
||||
# Server settings
|
||||
port: 8080
|
||||
|
||||
Reference in New Issue
Block a user