Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 378 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 378 Bytes

Run the container:

docker run \
  --name haiafara-postgis \
  -e POSTGRES_PASSWORD=postgres \
  -v "$PWD/db/data":/var/lib/postgresql/data \
  -v "$PWD/db/extras":/mnt/extras \
  -v /etc/passwd:/etc/passwd:ro \
  --user "$(id -u):$(id -g)" \
  -p 5432:5432 \
  haiafara/postgis

Build the image:

docker build \
  --progress=plain \
  -t haiafara/postgis \
  .