Add config file template for documentMaxLength setting

This commit is contained in:
Chris Thompson
2022-12-15 14:32:25 -05:00
parent a896d27542
commit 0c96d5a45f
3 changed files with 14 additions and 0 deletions

View File

@ -40,6 +40,9 @@ services:
- source: entrypoint_conf
target: /docker-entrypoint.sh
mode: 0555
- source: config_json
target: /files/config.json
mode: 0700
deploy:
restart_policy:
condition: on-failure
@ -90,6 +93,10 @@ networks:
external: true
internal:
configs:
config_json:
name: ${STACK_NAME}_config_${ENTRYPOINT_CONF_VERSION}
file: config.json.tmpl
template_driver: golang
entrypoint_conf:
name: ${STACK_NAME}_entrypoint_${ENTRYPOINT_CONF_VERSION}
file: entrypoint.sh.tmpl