mirror of
https://github.com/casjaysdevdocker/tools
synced 2026-01-27 10:34:45 -05:00
🦈🏠🐜❗ Initial Commit ❗🐜🦈🏠
This commit is contained in:
8
pgsql.sh
Normal file
8
pgsql.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
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
|
||||
Reference in New Issue
Block a user