mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-10 20:57:41 +01:00
11 lines
331 B
Django/Jinja
11 lines
331 B
Django/Jinja
#!/bin/bash
|
|
|
|
docker run \
|
|
-it \
|
|
--rm \
|
|
--env-file={{ matrix_environment_variables_data_path }}/env-postgres-pgsql-docker \
|
|
{% if not matrix_postgres_use_external %}
|
|
--link=matrix-postgres:{{ matrix_postgres_connection_hostname }} \
|
|
{% endif %}
|
|
{{ docker_postgres_image }} \
|
|
psql -h {{ matrix_postgres_connection_hostname }} |