Ecosystem File

Configuration Files

BGR reads TOML files for environment variables:

1# .config.toml
2[server]
3port = 3000
4host = "0.0.0.0"
5
6[database]
7url = "postgresql://localhost/myapp"
8pool_size = 10

These become environment variables:

1SERVER_PORT=3000
2SERVER_HOST=0.0.0.0
3DATABASE_URL=postgresql://localhost/myapp
4DATABASE_POOL_SIZE=10