2022-11-11 16:08:42 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
source ./script_config.sh
|
|
|
|
|
|
|
|
mkdir ./postgres -p
|
|
|
|
|
|
|
|
podman run -d \
|
|
|
|
--name rebased-db \
|
|
|
|
--pod rebased-pod \
|
|
|
|
-e POSTGRES_USER=$PG_USER \
|
|
|
|
-e POSTGRES_PASSWORD=$PG_PASS \
|
|
|
|
-e POSTGRES_DB=$PG_NAME \
|
|
|
|
-v ./postgres:/var/lib/postgresql/data \
|
2022-11-11 16:31:47 +01:00
|
|
|
-v ./config:/config:ro \
|
2022-11-11 16:08:42 +01:00
|
|
|
postgres:14.6-alpine
|
|
|
|
|