Compare commits

...

2 Commits

Author SHA1 Message Date
82cd61a129 pull always; pgadmin persistence; reformat 2023-02-22 09:38:26 +01:00
b869c93b4b init 2023-02-22 09:38:26 +01:00
9 changed files with 24 additions and 7 deletions

2
.ignore Normal file
View File

@ -0,0 +1,2 @@
.git
.DS_Store

3
.pijul/config Normal file
View File

@ -0,0 +1,3 @@
default_remote = "https://nest.pijul.com/rdiedrich/pod-files"
[hooks]
record = []

View File

@ -0,0 +1,12 @@
{
"public_key": {
"version": 0,
"algorithm": "Ed25519",
"signature": "4B79Pmt7V6UD3jaXGjEfw529DJbn1dcZDcqCGWXt1CJX5Jz7nE16WB1wbDZyrj9cKD7CFBXitxaZwgBtdjwPgULo",
"key": "FRyJoC1cQXbNjpgLHwNZGvEQZ2MNQvHYJc8kCcuCtivv"
},
"login": "rdiedrich",
"origin": "nest.pijul.com",
"email": "dev@rdiedri.ch",
"last_modified": 1664973372
}

BIN
.pijul/pristine/db Normal file

Binary file not shown.

0
.pijul/pristine/db.lock0 Normal file
View File

0
.pijul/pristine/db.lock1 Normal file
View File

View File

@ -1,19 +1,19 @@
#!/bin/sh
podman pull dpage/pgadmin4
podman pull postgres:14
podman pod create --name postgres-pod \
--replace=true \
-p 5080:80 \
-p 5432:5432
podman run --name main-db --pod postgres-pod --replace=true \
-v pgdata:/var/lib/postgresql/data \
-e POSTGRES_PASSWORD=postgres \
-d postgres:14
--pull=always \
-v pgdata:/var/lib/postgresql/data \
-e POSTGRES_PASSWORD=postgres \
-d postgres:14
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" \
-d dpage/pgadmin4