2022-09-22 14:01:19 +00:00
|
|
|
---
|
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
2023-10-07 23:41:29 +00:00
|
|
|
synapse:
|
2022-09-22 14:01:19 +00:00
|
|
|
environment:
|
|
|
|
- SHARED_SECRET_AUTH_ENABLED
|
|
|
|
secrets:
|
|
|
|
- shared_secret_auth
|
|
|
|
configs:
|
|
|
|
- source: shared_secret_auth
|
2023-02-14 09:00:28 +00:00
|
|
|
target: /usr/local/lib/python3.11/site-packages/shared_secret_authenticator.py
|
2022-09-22 14:01:19 +00:00
|
|
|
|
|
|
|
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}
|