Update proxy handling
This commit is contained in:
parent
7e050c3967
commit
63c013cc7b
|
@ -358,10 +358,20 @@ _EOT
|
|||
TMPDIR = "/local"
|
||||
MPLCONFIGDIR = "/local"
|
||||
MACHINE_LEARNING_HOST = "127.0.0.1"
|
||||
|
||||
|
||||
}
|
||||
|
||||
# Use a template block instead of env {} so we can fetch values from vault
|
||||
template {
|
||||
data = <<_EOT
|
||||
LANG=fr_FR.utf8
|
||||
TZ=Europe/Paris
|
||||
_EOT
|
||||
destination = "secrets/.env"
|
||||
perms = 400
|
||||
env = true
|
||||
}
|
||||
|
||||
|
||||
volume_mount {
|
||||
volume = "ml"
|
||||
destination = "/cache"
|
||||
|
|
|
@ -172,9 +172,10 @@ _EOT
|
|||
TMPDIR = "/local"
|
||||
MPLCONFIGDIR = "/local"
|
||||
MACHINE_LEARNING_HOST = "127.0.0.1"
|
||||
[[ template "common/proxy_env" $c ]]
|
||||
}
|
||||
|
||||
[[ template "common/file_env" $c ]]
|
||||
|
||||
volume_mount {
|
||||
volume = "ml"
|
||||
destination = "/cache"
|
||||
|
|
Loading…
Reference in New Issue