--- version: "3.8" services: app: environment: - SHARED_SECRET_AUTH_ENABLED secrets: - shared_secret_auth configs: - source: shared_secret_auth target: /usr/local/lib/python3.11/site-packages/shared_secret_authenticator.py configs: shared_secret_auth: name: ${STACK_NAME}_shared_secret_auth_${SHARED_SECRET_AUTH_VERSION} file: shared_secret_authenticator.py secrets: shared_secret_auth: external: true name: ${STACK_NAME}_shared_secret_auth_${SECRET_SHARED_SECRET_AUTH_VERSION}