Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

14 lines
353 B

  1. #jinja2: lstrip_blocks: "True"
  2. #!/bin/bash
  3. docker run \
  4. -it \
  5. --rm \
  6. --user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
  7. --cap-drop=ALL \
  8. --env-file={{ matrix_postgres_base_path }}/env-postgres-psql \
  9. --network {{ matrix_docker_network }} \
  10. {{ matrix_postgres_docker_image_to_use }} \
  11. psql -h {{ matrix_postgres_connection_hostname }} \
  12. "$@"