# Sourced by the Core's uninstallapp (so no `exit` here): stop the app and # delete its settings, data and database docker compose -f /federated/apps/{{NAME}}/docker-compose.yml -p {{NAME}} down rm -rf /federated/apps/{{NAME}} docker exec postgresql psql -U postgres -qc "DROP DATABASE IF EXISTS {{DBNAME}}" docker exec postgresql psql -U postgres -qc "DROP USER IF EXISTS {{DBNAME}}"