fix: no hardcoded secrets

This commit is contained in:
cellarspoon
2021-12-13 12:16:23 +01:00
parent 6727434db5
commit 68d73bd4e7
6 changed files with 29 additions and 3 deletions

View File

@ -31,6 +31,9 @@ services:
- "data:/data"
secrets:
- db_password
- registration_shared_secret
- macaroon_secret_key
- form_secret
environment:
- DISABLE_FEDERATION
- DOMAIN
@ -100,3 +103,12 @@ secrets:
db_password:
external: true
name: ${STACK_NAME}_db_password_${SECRET_DB_PASSWORD_VERSION}
registration_shared_secret:
external: true
name: ${STACK_NAME}_db_password_${SECRET_REGISTRATION_SHARED_SECRET_VERSION}
macaroon_secret_key:
external: true
name: ${STACK_NAME}_db_password_${SECRET_MACAROON_SECRET_KEY_VERSION}
form_secret:
external: true
name: ${STACK_NAME}_db_password_${SECRET_FORM_SECRET_VERSION}