Get secrets laid out
This commit is contained in:
parent
53a5079e7a
commit
18eac8b5e0
@ -73,8 +73,11 @@ ES_ENABLED=false
|
|||||||
|
|
||||||
# Secrets
|
# Secrets
|
||||||
# =======
|
# =======
|
||||||
SECRET_KEY_BASE=
|
SECRET_KEY_BASE_VERSION=v1
|
||||||
OTP_SECRET=
|
SECRET_OTP_SECRET_VERSION=v1
|
||||||
|
SECRET_VAPID_PRIVATE_KEY_VERSION=v1
|
||||||
|
SECRET_DB_PASSWORD_VERSION=v1
|
||||||
|
SECRET_SMTP_PASSWORD_VERSION=v1
|
||||||
|
|
||||||
# Web Push
|
# Web Push
|
||||||
# ========
|
# ========
|
||||||
|
24
compose.yml
24
compose.yml
@ -203,13 +203,23 @@ services:
|
|||||||
volumes: *appVolume
|
volumes: *appVolume
|
||||||
environment: *env
|
environment: *env
|
||||||
|
|
||||||
# secrets:
|
secrets:
|
||||||
# secret_key_base:
|
secret_key_base:
|
||||||
# name: ${STACK_NAME}_secret_key_base_${SECRET_DB_PASSWORD_VERSION}
|
name: ${STACK_NAME}_secret_key_base_${SECRET_KEY_BASE_VERSION}
|
||||||
# external: true
|
external: true
|
||||||
# otp_secret:
|
otp_secret:
|
||||||
# name: ${STACK_NAME}_otp_secret_${SECRET_DB_ROOT_PASSWORD_VERSION}
|
name: ${STACK_NAME}_otp_secret_${SECRET_OTP_SECRET_VERSION}
|
||||||
# external: true
|
external: true
|
||||||
|
vapid_private_key:
|
||||||
|
name: ${STACK_NAME}_vapid_private_key_${SECRET_VAPID_PRIVATE_KEY_VERSION}
|
||||||
|
external: true
|
||||||
|
db_password:
|
||||||
|
name: ${STACK_NAME}_db_password_${SECRET_DB_PASSWORD_VERSION}
|
||||||
|
external: true
|
||||||
|
smtp_password:
|
||||||
|
name: ${STACK_NAME}_smtp_password_${SECRET_SMTP_PASSWORD_VERSION}
|
||||||
|
external: true
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
app:
|
app:
|
||||||
redis:
|
redis:
|
||||||
|
Loading…
Reference in New Issue
Block a user