Comments (3)
[root@iZj6cegvt102afyesj92e8Z mattermost]# docker logs mattermost-db
2022-07-28 07:46:50.276 UTC [1] LOG: starting PostgreSQL 13.7 on x86_64-pc-linux-musl, compiled by gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219, 64-bit
2022-07-28 07:46:50.276 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2022-07-28 07:46:50.276 UTC [1] LOG: listening on IPv6 address "::", port 5432
2022-07-28 07:46:50.277 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2022-07-28 07:46:50.281 UTC [49] LOG: database system was shut down at 2022-07-28 07:46:50 UTC
2022-07-28 07:46:50.285 UTC [1] LOG: database system is ready to accept connections
2022-07-28 07:46:58.850 UTC [56] FATAL: password authentication failed for user "postgres"
2022-07-28 07:46:58.850 UTC [56] DETAIL: Password does not match for user "postgres".
Connection matched pg_hba.conf line 99: "host all all all md5"
from websoft9.
.env 文件变量替换只到第二层,第三层是用变量不是用值来替换的。POWER_PASSWORD我们删除后就造成了连接失败
# mattermost/mattermost-team-edition, mattermost-enterprise-edition
APP_REPO=mattermost/mattermost-team-edition
APP_VERSION=latest
APP_PORT=9001
APP_NAME=mattermost
APP_URL_REPLACE=true
APP_URL=47.242.13.247
APP_NETWORK=websoft9
DB_POSTGRES_VERSION=13-alpine
DB_POSTGRES_PASSWORD=hGoe3d2FFAKST2!
DB_POSTGRES_DB=mattermost
DB_POSTGRES_USER=mattermost
# -- below from official .env
POSTGRES_USER=$APP_NAME
POSTGRES_PASSWORD=hGoe3d2FFAKST2!
POSTGRES_DB=$APP_NAME
MM_SERVICESETTINGS_SITEURL=http://47.242.13.247
MM_BLEVESETTINGS_INDEXDIR=/mattermost/bleve-indexes
MM_SQLSETTINGS_DRIVERNAME=postgres
MM_SQLSETTINGS_DATASOURCE=postgres://$APP_NAME:$POWER_PASSWORD@postgres:5432/$APP_NAME?sslmode=disable&connect_timeout=10
from websoft9.
修改.env以适用2层变量赋值
from websoft9.
Related Issues (20)
- proxy bind IP will make websoft9 plugin error?
- can not upgrade by install.sh on aliyun on ubuntu22.04 at hongkong
- offline install solution for Websoft9
- add systemctl enable cockpit at install HOT 1
- disable terminal copy and paste limit
- Proxy application for SSL certificate email address customization
- How to use dns in nginxproxymanage
- add softlink for /var/lib/docker/volumes HOT 1
- add W9_RCODE to .env when create application HOT 1
- Nginx Proxy Separation for application and websoft9 service
- add domain and set https for Cocipit
- installing app cannot cancle
- Duvida HOT 2
- password or key management
- websoft9 refer to real mail [email protected] risk HOT 1
- websoft9 docker compose lable error on Docker Compose version v2.24.1 HOT 1
- disable packagekit.service if exist at install.sh HOT 4
- customer install websoft9 failed on debian12 HOT 2
- Adapts to IPv6
- delete unuseful repository at gitee and sync with Github
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from websoft9.