Merge pull request #426 from bnounours/master

Fix bad network and bad path to postgres env in docker run
This commit is contained in:
Slavi Pantaleev 2020-03-30 16:55:02 +03:00 committed by GitHub
commit edb77cf799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ docker run \
--rm \ --rm \
--user=991:991 \ --user=991:991 \
--cap-drop=ALL \ --cap-drop=ALL \
--env-file=/matrix/postgres/env-postgres-psql \ --env-file={{ matrix_postgres_base_path }}/env-postgres-psql \
--network matrix \ --network {{ matrix_docker_network }} \
postgres:12.1-alpine \ postgres:12.1-alpine \
psql -h matrix-postgres -c "UPDATE users set admin=$2 WHERE name like '@$1:{{ matrix_domain }}'" psql -h matrix-postgres -c "UPDATE users set admin=$2 WHERE name like '@$1:{{ matrix_domain }}'"