use docker secret for mail and seperate compose file

This commit is contained in:
stevensting
2025-02-09 19:48:48 +01:00
parent 6c29012f1b
commit 3587172e5f
6 changed files with 39 additions and 16 deletions
+1
View File
@@ -24,6 +24,7 @@ file_env() {
file_env "DEVISE_SECRET"
file_env "SECRET_COOKIE_TOKEN"
file_env "POSTGRES_PASSWORD"
file_env "SMTP_PASSWORD"
export DATABASE_URL="postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db/${POSTGRES_DB}"
if [ -n "$1" ]; then