working proto

master
Paul Wilde 3 months ago
parent 07db1784ff
commit 5e2e529b28

@ -1,12 +1,16 @@
#!/bin/bash
source ./script_config.sh
touch ./config/prod.secret.exs
echo Stopping old 'rebased-web' container...
podman stop rebased-web
podman rm rebased-web
echo Creating new 'rebased-web' container...
if [ ! -f ./config/prod.secret.exs ]; then
$conf=""
fi
podman run -d \
--name rebased-web \
--pod rebased-pod \

@ -0,0 +1,3 @@
#!/bin/bash
podman exec rebased-db pg_dump -U pleroma pleroma > db.sql

@ -0,0 +1,4 @@
#!/bin/bash
podman exec rebased-db psql -U pleroma pleroma < db.sql

@ -1,10 +1,10 @@
#!/bin/bash
DATE=$(date +"%Y-%m-%d")
PG_USER=rebased
PG_USER=pleroma
PG_PASS=rebased
PG_HOST=localhost
PG_NAME=rebased
PG_NAME=pleroma
REBASED_VER=develop
REBASED_IMG="rebased-$REBASED_VER-$DATE"

@ -1,3 +0,0 @@
#!/bin/bash
podman exec pleroma-db pg_dump -U pleroma pleroma > db.sql
Loading…
Cancel
Save