tools/pgsql.sh
Jason Hempstead d37f538dcc
🦈🏠🐜 Initial Commit 🐜🦈🏠
2020-08-05 19:12:39 -04:00

9 lines
266 B
Bash

mkdir -p /var/lib/docker/storage/postgres && chmod -Rf 777 /var/lib/docker/storage/postgres
docker run -d \
--name postgres \
--restart=always \
-p 5432:5432 \
-v /var/lib/docker/storage/postgres:/var/lib/postgresql/data \
registry.casjay.in/latest/postgres:latest