matrix-synapse/compose.shared_secret_auth.yml
decentral1se f43a47d4c8
All checks were successful
continuous-integration/drone/push Build is passing
fix: use new mount for shared secret auth
See b3dfa11097
2023-02-14 10:00:28 +01:00

23 lines
541 B
YAML

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