Corrections to get config updating and effective
This commit is contained in:
parent
6139cff626
commit
9e88945b9b
|
@ -26,6 +26,7 @@ services:
|
|||
- CMD_DEFAULT_PERMISSION
|
||||
- CMD_EMAIL
|
||||
- CMD_SESSION_LIFE
|
||||
- DOCUMENT_MAX_LENGTH
|
||||
depends_on:
|
||||
- db
|
||||
networks:
|
||||
|
@ -42,7 +43,7 @@ services:
|
|||
mode: 0555
|
||||
- source: config_json
|
||||
target: /files/config.json
|
||||
mode: 0700
|
||||
mode: 0555
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
{
|
||||
{{ if (env "DOCUMENT_MAX_LENGTH") }}
|
||||
{{ if (env "DOCUMENT_MAX_LENGTH") }}
|
||||
"production": {
|
||||
"documentMaxLength": {{ env "DOCUMENT_MAX_LENGTH" }}
|
||||
{{ end }}
|
||||
}
|
||||
{{ end }}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue