use docker secret for mail and seperate compose file
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user