3
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2025-10-20 07:03:24 +00:00
Files
matrix-docker-ansible-deploy/roles/matrix-server/templates/usr-local-bin/matrix-postgres-cli.j2

10 lines
210 B
Django/Jinja

#!/bin/bash
docker run \
-it \
--rm \
--env-file={{ matrix_environment_variables_data_path }}/env-postgres-pgsql-docker \
--link=matrix-postgres:postgres \
{{ docker_postgres_image }} \
psql -h postgres