Compare commits

...

2 Commits

Author SHA1 Message Date
Chris Thompson 7780eb9f13 Bump configuration version 2022-12-15 15:05:13 -05:00
Chris Thompson 9e88945b9b Corrections to get config updating and effective 2022-12-15 15:05:02 -05:00
3 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,4 @@
export ENTRYPOINT_CONF_VERSION=v5
export ENTRYPOINT_CONF_VERSION=v6
abra_backup_app() {
_abra_backup_dir "app:/home/hackmd/app/public/uploads/"

View File

@ -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

View File

@ -1,5 +1,7 @@
{
{{ if (env "DOCUMENT_MAX_LENGTH") }}
"documentMaxLength": {{ env "DOCUMENT_MAX_LENGTH" }}
{{ end }}
{{ if (env "DOCUMENT_MAX_LENGTH") }}
"production": {
"documentMaxLength": {{ env "DOCUMENT_MAX_LENGTH" }}
}
{{ end }}
}