Skip to content

Commit

Permalink
fix mattermost
Browse files Browse the repository at this point in the history
  • Loading branch information
chendelin1982 authored Dec 4, 2023
1 parent a1e9d2c commit 4ae02ab
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions apps/mattermost/.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,17 @@ W9_DIST=community
W9_ID=mattermost
W9_HTTP_PORT=8065
W9_HTTP_PORT_SET=9001

W9_URL=appname.example.com
W9_URL_REPLACE=true
W9_URL=appname.example.com:$W9_HTTP_PORT_SET
W9_DB_EXPOSE="postgresql"
W9_NETWORK=websoft9
#### --------------------------------------------------------------------------------------- ####


# -- below from official .env

POSTGRES_USER=$W9_ID
POSTGRES_PASSWORD=$W9_POWER_PASSWORD
POSTGRES_DB=$W9_ID

MM_BLEVESETTINGS_INDEXDIR=/mattermost/bleve-indexes
MM_SQLSETTINGS_DRIVERNAME=postgres
MM_SQLSETTINGS_DATASOURCE=postgres://${W9_ID}:${W9_POWER_PASSWORD}@$W9_ID-postgresql:5432/${W9_ID}?sslmode=disable&connect_timeout=10
MM_SERVICESETTINGS_SITEURL=http://${W9_URL}
MM_SERVICESETTINGS_SITEURL=http://${W9_URL}:$W9_HTTP_PORT_SET

0 comments on commit 4ae02ab

Please sign in to comment.