7 changed files with 15 additions and 6 deletions
@ -1,4 +1,4 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
|
|
||||
sudo docker rm postgres --force |
sudo docker rm postgres --force |
||||
sudo docker run -d -p5432:5432 -e POSTGRES_USER="tapit" -e POSTGRES_PASSWORD="secret-tapit-password" -e POSTGRES_DB="tapit" --name postgres postgres |
|
||||
|
sudo docker run -d -p5432:5432 -v `pwd`/postgres-data:/var/lib/postgresql/data -e POSTGRES_USER="tapit" -e POSTGRES_PASSWORD="secret-tapit-password" -e POSTGRES_DB="tapit" --name postgres postgres |
||||
|
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in new issue