Run with Docker
Run with Docker Compose
compose.yaml
Varne v1 is in pre-release. The
nightly tag follows development. The latest tag moves to v1 only after the first stable v1 release, so do not rely on it yet. After that, pin a version tag such as 1.0.0 in production.What lives where
If you do not mount
/app/config, Varne creates a new empty configuration each time you recreate the container.
The database holds raw provider responses and the rows built from them. Pulling again replaces a day’s rows with the newest pull, so you can pull as often as you like.
Environment variables
Varne reads these variables, or the same names from a.env file in its working directory.
Secrets such as API tokens are not Varne settings. Put them in environment variables of your own and reference them from the configuration with
api_token_env or password_env. See Configuration.
Health check
Varne answersGET /api/v1/health with its status and version:
Keep Varne private
Varne has no login, and anyone who can open it can read your costs and change your configuration. The configuration can contain API tokens.- Bind to localhost, as in the Compose example above, or run Varne on a private network or VPN.
- If you need access from outside, put a reverse proxy with authentication in front of it.
- Prefer
api_token_envoverapi_token, so tokens are not stored invarne.yaml. - Create provider keys with the least access that works, and rotate any key that you pasted somewhere public by mistake.
Upgrade
data and config folders stay as they are. Back them up before you change versions.