diff --git a/docker-compose.yaml b/docker-compose.yaml index 621385b..a3758ce 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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 diff --git a/homeserver.yaml.db b/homeserver.yaml.db index 3c99b57..fa97f86 100644 --- a/homeserver.yaml.db +++ b/homeserver.yaml.db @@ -1,7 +1,7 @@ database: name: psycopg2 args: - user: synapse + user: matrix_synapse password: PG_PASS dbname: synapse host: db diff --git a/install.sh b/install.sh index d7d56db..d5eb7ff 100755 --- a/install.sh +++ b/install.sh @@ -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