1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00
matrix-docker-ansible-deploy/roles/matrix-server/templates/usr-local-bin/matrix-postgres-cli.j2

10 lines
263 B
Django/Jinja

#!/bin/bash
docker run \
-it \
--rm \
--env-file={{ matrix_environment_variables_data_path }}/env-postgres-pgsql-docker \
--network {{ matrix_docker_network }} \
{{ matrix_docker_image_postgres_to_use }} \
psql -h {{ matrix_postgres_connection_hostname }}