matrix-docker-ansible-deploy/roles/matrix-server/templates/usr-local-bin/matrix-postgres-cli.j2

9 lines
255 B
Plaintext
Raw Normal View History

2017-07-31 20:07:30 +00:00
#!/bin/bash
docker run \
-it \
--rm \
--env-file={{ matrix_environment_variables_data_path }}/env-postgres-pgsql-docker \
--network {{ matrix_docker_network }} \
{{ docker_postgres_image_to_use }} \
psql -h {{ matrix_postgres_connection_hostname }}