rebased-podman/35-gen-config.sh

13 lines
320 B
Bash
Raw Normal View History

#!/bin/bash
source ./script_config.sh
2022-11-11 16:31:47 +01:00
podman exec -it --user=0 --privileged rebased-web /opt/pleroma/bin/pleroma_ctl instance gen
echo "Check files in config - if all looks good rename generated_config.exs to prod.secret.exs"
if [ -f ./config/setup_db.sql ]; then
# run this in postgres container
echo hi
fi