fix: set database password for focalboard and mattermost to be auto generated

This commit is contained in:
naterfute 2025-04-05 20:08:17 -07:00
parent dff9c63554
commit 3b48e24dfc
No known key found for this signature in database
GPG Key ID: 8DB2A1C41F6F6CA4
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ env = [
"VIRTUAL_PORT=8000 # Do Not Alter",
"DB_TYPE=postgres",
"POSTGRES_USER=focalboard",
"POSTGRES_PASSWORD=password",
"POSTGRES_PASSWORD=${password:32}",
"POSTGRES_DB=focalboard"
]
mounts = []

View File

@ -5,7 +5,7 @@ main_domain = "${domain}"
env = [
"Domain=${main_domain}",
"POSTGRES_USER=mmuser",
"POSTGRES_PASSWORD=mmuser_password",
"POSTGRES_PASSWORD=${password:32}",
"POSTGRES_DB=mattermost",
"MM_SQLSETTINGS_DRIVERNAME=postgres",
"MM_SQLSETTINGS_DATASOURCE=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}?sslmode=disable&connect_timeout=10",