su pleroma -s $SHELL -lc "./bin/pleroma_ctl instance gen --output /etc/pleroma/config.exs --output-psql /tmp/setup_db.psql"
# Create the postgres database
su pleroma -s $SHELL -lc "./bin/pleroma_ctl instance gen --output /etc/pleroma/config.exs --output-psql /tmp/setup_db.psql"
# Create the postgres database
# If you have installed RUM indexes add
# `config :pleroma, :database, rum_enabled: true`
# If you have installed RUM indexes add
# `config :pleroma, :database, rum_enabled: true`