Parcourir la source

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 il y a 5 ans
committed by GitHub
Parent
révision
33e2887876
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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 Voir le fichier

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

Chargement…
Annuler
Enregistrer