github.com/pachyderm/pachyderm@v1.13.4/etc/testing/start_postgres.sh (about) 1 #!/bin/sh 2 3 if ! docker ps | grep -q postgres 4 then 5 echo "starting postgres..." 6 docker run -d \ 7 -e POSTGRES_DB=pgc \ 8 -e POSTGRES_HOST_AUTH_METHOD=trust \ 9 -e POSTGRES_USER=pachyderm \ 10 -p 32228:5432 \ 11 postgres:13.0-alpine 12 else 13 echo "postgres already started" 14 fi