aboutsummaryrefslogtreecommitdiffstats
path: root/docker/postgres.sh
blob: 14f9adf0664ce44ec386eb94e1d7fda293e94921 (plain) (blame)
1
2
3
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