浏览代码

Merge pull request #851 from julianfoad/postgres-cli-allow-psql-args

Allow psql args to be given to matrix-postgres-cli
pull/852/head
Slavi Pantaleev 5 年前
committed by GitHub
父节点
当前提交
33e2887876
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      roles/matrix-postgres/templates/usr-local-bin/matrix-postgres-cli.j2

+ 2
- 1
roles/matrix-postgres/templates/usr-local-bin/matrix-postgres-cli.j2 查看文件

@@ -9,4 +9,5 @@ docker run \
--env-file={{ matrix_postgres_base_path }}/env-postgres-psql \
--network {{ matrix_docker_network }} \
{{ matrix_postgres_docker_image_to_use }} \
psql -h {{ matrix_postgres_connection_hostname }}
psql -h {{ matrix_postgres_connection_hostname }} \
"$@"

正在加载...
取消
保存