## Database `needs = ["postgres"]`: the app has its own database on the Core's shared PostgreSQL. - At install, the user and database `{{DBNAME}}` are created, with the random `DB_PASSWORD` from `.env`. `coreapp remove` drops both, with the data. - The app reads `DB_HOST` (`postgresql.`, which only resolves on the Core's `core` network), `DB_PORT`, `DB_NAME`, `DB_USER` and `DB_PASSWORD` from its environment. `app.py` shows how, with `psycopg`. - Look at the data: `coreapp-vm ssh docker exec -it postgresql psql -U postgres {{DBNAME}}`.