version: "3.8" services: app: configs: - source: mattermost_config target: /config-to-copy.json secrets: - mattermost_sso_secret secrets: mattermost_sso_secret: external: true name: ${STACK_NAME}_mattermost_sso_secret_${SECRET_MATTERMOST_SSO_SECRET_VERSION} configs: mattermost_config: name: ${STACK_NAME}_mattermost_config_${MATTERMOST_CONFIG_VERSION} file: ./config.json.tmpl template_driver: golang