diff options
Diffstat (limited to 'docker/postgres.sh')
-rwxr-xr-x | docker/postgres.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/postgres.sh b/docker/postgres.sh new file mode 100755 index 0000000..14f9adf --- /dev/null +++ b/docker/postgres.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env sh + +docker run -d -p 5432:5432 -v postgres-data:/var/lib/postgresql/data -e POSTGRES_PASSWORD=devi -e POSTGRES_USER=devi -e POSTGRES_DB=devi postgres:13.2-alpine +# docker run --add-host=localhost:127.0.0.1 -p 5432:5432 -v postgres-data:/var/lib/postgresql/data -e POSTGRES_PASSWORD=devi -e POSTGRES_USER=devi -e POSTGRES_DB=devi postgres:13 |