Explorar el Código

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 hace 5 años
committed by GitHub
padre
commit
33e2887876
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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 Ver fichero

@@ -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 }} \
"$@"

Cargando…
Cancelar
Guardar