Two steps. AppleSync writes its config to /srv/Tracking/AirTagServer/appconfig.json — not appsettings.json.
MongoDB
Either let AppleSync install MongoDB for you (one click, runs in Docker) or point at a MongoDB you already have running.
Bundled MongoDB (Docker, auto-installed)
External MongoDB (paste connection string)