mirror of http://138.197.108.81/gattes/matrix.git
Moving files around
This commit is contained in:
parent
5b272cc018
commit
3bdcc4473a
|
@ -11,7 +11,7 @@ fi
|
||||||
BASE_DIR=/opt/matrix
|
BASE_DIR=/opt/matrix
|
||||||
|
|
||||||
# Create directory and copy configs + docker-compose YAML
|
# Create directory and copy configs + docker-compose YAML
|
||||||
mkdir -p ${BASE_DIR}
|
mkdir -p ${BASE_DIR}/db
|
||||||
cp -R . ${BASE_DIR}
|
cp -R . ${BASE_DIR}
|
||||||
cd ${BASE_DIR}
|
cd ${BASE_DIR}
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ EOF
|
||||||
PG_PASS=$(pwgen -s 28 -1)
|
PG_PASS=$(pwgen -s 28 -1)
|
||||||
|
|
||||||
# Replace Password in homeserver.yaml
|
# Replace Password in homeserver.yaml
|
||||||
sed -i "s|PG_PASS|\"${PG_PASS}\"|g" "${BASE_DIR}/config/synapse/homeserver.yaml"
|
sed -i "s|PG_PASS|${PG_PASS}|g" "${BASE_DIR}/config/synapse/homeserver.yaml"
|
||||||
|
|
||||||
# Replace PG_PASS Password and DOMAIN in docker compose YAML
|
# Replace PG_PASS Password and DOMAIN in docker compose YAML
|
||||||
sed -i "s|DOMAIN|${DOMAIN}|g" "${BASE_DIR}/docker-compose.yaml"
|
sed -i "s|DOMAIN|${DOMAIN}|g" "${BASE_DIR}/docker-compose.yaml"
|
Loading…
Reference in New Issue