--- version: "3.8" services: app: environment: - OPENID_KEYCLOAK_URL - OPENID_CLIENT_ID secrets: - openid_client_secret configs: - source: composer_local_conf target: /var/www/html/composer.local.json secrets: openid_client_secret: name: ${STACK_NAME}_openid_client_secret_${SECRET_OPENID_CLIENT_SECRET_VERSION} external: true configs: composer_local_conf: name: ${STACK_NAME}_composer_local_${COMPOSER_LOCAL_CONF_VERSION} file: composer.local.json.tmpl template_driver: golang