Method: SOULs::Docker#psql
- Defined in:
- lib/souls/cli/docker/index.rb
#psql ⇒ Object
4 5 6 7 8 9 |
# File 'lib/souls/cli/docker/index.rb', line 4 def psql system( "docker run --restart always -d --name souls-psql -p 5433:5432 -v postres-tmp:/var/lib/postgresql/data -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=souls_test postgres:14-alpine" ) system("docker ps") end |