mirror of http://138.197.108.81/gattes/matrix.git
Changing DB user
This commit is contained in:
parent
286c2ce7e8
commit
9c6de75189
|
@ -21,7 +21,7 @@ services:
|
|||
image: docker.io/postgres:16-alpine
|
||||
environment:
|
||||
- POSTGRES_DB=synapse
|
||||
- POSTGRES_USER=synapse
|
||||
- POSTGRES_USER=matrix_synapse
|
||||
- POSTGRES_PASSWORD=PG_PASS
|
||||
- POSTGRES_INITDB_ARGS=--encoding=UTF8 --lc-collate=C --lc-ctype=C
|
||||
volumes:
|
||||
|
@ -66,7 +66,7 @@ services:
|
|||
- SYNCV3_BINDADDR=:8008
|
||||
- SYNCV3_SERVER=https://DOMAIN
|
||||
- SYNCV3_SECRET=SLIDING_SYNC_KEY
|
||||
- SYNCV3_DB=user=synapse dbname=synapse sslmode=disable host=db password=PG_PASS
|
||||
- SYNCV3_DB=user=matrix_synapse dbname=synapse sslmode=disable host=db password=PG_PASS
|
||||
networks:
|
||||
matrix_server:
|
||||
ipv4_address: 10.10.10.7
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
database:
|
||||
name: psycopg2
|
||||
args:
|
||||
user: synapse
|
||||
user: matrix_synapse
|
||||
password: PG_PASS
|
||||
dbname: synapse
|
||||
host: db
|
||||
|
|
|
@ -18,6 +18,9 @@ cd ${BASE_DIR}
|
|||
# Disable "Pending Kernel upgrade" banner
|
||||
sed -i "s|#\$nrconf{kernelhints} = -1;|\$nrconf{kernelhints} = -1;|g" /etc/needrestart/needrestart.conf
|
||||
|
||||
# Disable "Daemon Using Outdated Libraries" banner
|
||||
sed -i "s|#\$nrconf{restart} = 'i';|\$nrconf{restart} = 'a';|g" /etc/needrestart/needrestart.conf
|
||||
|
||||
# Baseline utils
|
||||
echo -e "Installing baseline utils\n"
|
||||
apt update
|
||||
|
|
Loading…
Reference in New Issue