2017-07-31 20:07:30 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2017-09-08 11:18:12 +00:00
|
|
|
docker run \
|
|
|
|
-it \
|
|
|
|
--rm \
|
|
|
|
--env-file={{ matrix_environment_variables_data_path }}/env-postgres-pgsql-docker \
|
2017-09-08 13:53:24 +00:00
|
|
|
{% if not matrix_postgres_use_external %}
|
|
|
|
--link=matrix-postgres:{{ matrix_postgres_connection_hostname }} \
|
|
|
|
{% endif %}
|
2017-09-08 11:18:12 +00:00
|
|
|
{{ docker_postgres_image }} \
|
2017-09-08 13:53:24 +00:00
|
|
|
psql -h {{ matrix_postgres_connection_hostname }}
|