23 lines
540 B
YAML
23 lines
540 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.9/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}
|