Database
Talos stores API key data in a relational database. The backend is determined by the DSN scheme in db.dsn.
Supported backends
| Backend | Edition | DSN scheme | Use case |
|---|---|---|---|
| SQLite | OSS | sqlite:// | Development, single-node |
| PostgreSQL | Commercial | postgres:// | Recommended production |
| MySQL | Commercial | mysql:// | Production with MySQL infrastructure |
| CockroachDB | Commercial | cockroach:// | Multi-region, distributed |
Configuration
db:
dsn: "sqlite:///var/lib/talos/data.db"
The db.dsn setting requires a server restart to take effect.
Migrations
Run talos migrate up before first use and after each upgrade. See Migrations.
