pull always; pgadmin persistence; reformat
This commit is contained in:
@ -1,19 +1,19 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
podman pull dpage/pgadmin4
|
|
||||||
podman pull postgres:14
|
|
||||||
|
|
||||||
podman pod create --name postgres-pod \
|
podman pod create --name postgres-pod \
|
||||||
--replace=true \
|
--replace=true \
|
||||||
-p 5080:80 \
|
-p 5080:80 \
|
||||||
-p 5432:5432
|
-p 5432:5432
|
||||||
|
|
||||||
podman run --name main-db --pod postgres-pod --replace=true \
|
podman run --name main-db --pod postgres-pod --replace=true \
|
||||||
-v pgdata:/var/lib/postgresql/data \
|
--pull=always \
|
||||||
-e POSTGRES_PASSWORD=postgres \
|
-v pgdata:/var/lib/postgresql/data \
|
||||||
-d postgres:14
|
-e POSTGRES_PASSWORD=postgres \
|
||||||
|
-d postgres:14
|
||||||
|
|
||||||
podman run --name pgadmin --pod postgres-pod --replace=true \
|
podman run --name pgadmin --pod postgres-pod --replace=true \
|
||||||
-e PGADMIN_DEFAULT_EMAIL="hello@postgres" \
|
--pull=always \
|
||||||
|
-v pgadmindata:/var/lib/pgadmin \
|
||||||
|
-e PGADMIN_DEFAULT_EMAIL="hello@postgres.xyz" \
|
||||||
-e PGADMIN_DEFAULT_PASSWORD="postgres" \
|
-e PGADMIN_DEFAULT_PASSWORD="postgres" \
|
||||||
-d dpage/pgadmin4
|
-d dpage/pgadmin4
|
||||||
|
Reference in New Issue
Block a user