decentral1se
f43a47d4c8
All checks were successful
continuous-integration/drone/push Build is passing
See b3dfa11097
23 lines
541 B
YAML
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}
|