Environment Vars¶
SmallBlock reads configuration from environment variables and settings.yaml.
Common Variables¶
DATABASE_URL: DB connection string.ALLOWED_HOSTS: comma-separated hostnames.DEBUG:trueorfalse(default: false).LOG_LEVEL:INFO(default),WARNING,ERROR,DEBUG.
Loading Strategy¶
Use a
.envfile for local development.Inject real secrets via your service manager (systemd) in production.