2017-07-31 23:07:30 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
2017-09-08 14:18:12 +03:00
|
|
|
docker run \
|
|
|
|
-it \
|
|
|
|
--rm \
|
|
|
|
--env-file={{ matrix_environment_variables_data_path }}/env-postgres-pgsql-docker \
|
2017-09-08 16:53:24 +03:00
|
|
|
{% if not matrix_postgres_use_external %}
|
|
|
|
--link=matrix-postgres:{{ matrix_postgres_connection_hostname }} \
|
|
|
|
{% endif %}
|
2018-05-28 14:47:09 +03:00
|
|
|
{{ docker_postgres_image_to_use }} \
|
2017-09-08 16:53:24 +03:00
|
|
|
psql -h {{ matrix_postgres_connection_hostname }}
|