Netbox RIPE Updater is configured through two environment files that serve distinct roles:Documentation Index
Fetch the complete documentation index at: https://mintlify.com/jalmargyyk/netbox-ripe-updater/llms.txt
Use this file to discover all available pages before exploring further.
.env controls Docker Compose-level settings such as the host port binding, the Minio object-storage credentials, and the path to your RIPE templates, while .env.updater configures the application itself — NetBox connectivity, RIPE database credentials, email reporting, and S3 backup settings. Keeping these files separate makes it easier to manage infrastructure concerns independently from application secrets.
.env — Docker Compose settings
These variables are read by Docker Compose to configure the host environment and the Minio service.
| Variable | Default | Description |
|---|---|---|
UPDATER_HTTP_PORT | 127.0.0.1:9000 | Host address and port that the updater service binds to. Change the address to 0.0.0.0 to expose it on all interfaces. |
RIPE_TEMPLATE_DIR | ./ripe-templates/example | Path to the directory containing your RIPE templates. Copy the example directory and point this variable to your custom copy. |
MINIO_ROOT_USER | CjGb9PDkjQqMi6V | Root username for the bundled Minio instance. Must match S3_ACCESS_KEY in .env.updater. |
MINIO_ROOT_PASSWORD | 8s82NHXq6pPsJAP4S | Root password for the bundled Minio instance. Must match S3_SECRET_ACCESS_KEY in .env.updater. |
.env
.env.updater — Application settings
These variables are injected into the updater container and read by ripeupdater/configuration.py. They are grouped below by functional area.
UI authentication
| Variable | Type | Default | Description |
|---|---|---|---|
UI_USER | string | — | Username for HTTP basic auth protecting the /backups UI. |
UI_PASSWORD | string | — | Password for HTTP basic auth protecting the /backups UI. |
UPDATE_TOKEN | string | — | When set, every NetBox webhook must include Authorisation: Token <value> in its headers. |
NetBox
| Variable | Type | Default | Description |
|---|---|---|---|
NETBOX_URL | URL | — | Full URL of your NetBox instance, e.g. https://netbox.local. |
NETBOX_TOKEN | string | — | NetBox API token with read access to prefixes, aggregates, regions, and sites. |
RIPE
| Variable | Type | Default | Description |
|---|---|---|---|
RIPE_API_USER | string | — | RIPE NCC API username with write permissions to your INET(6)NUM objects. |
RIPE_API_PASS | string | — | RIPE NCC API password with write permissions to your INET(6)NUM objects. |
RIPE_DB | RIPE / TEST | TEST | Which RIPE database to write to. Use TEST during initial setup and RIPE for production. |
DEFAULT_COUNTRY | ISO 3166-1 alpha-2 | — | Fallback country code used when a prefix’s site has no parent country region, e.g. GB or DE. |
SMALLEST_PREFIX_V4 | 0–32 | 31 | IPv4 prefixes longer than this value are ignored and not written to RIPE-DB. |
SMALLEST_PREFIX_V6 | 0–128 | 127 | IPv6 prefixes longer than this value are ignored and not written to RIPE-DB. |
S3 / backup
| Variable | Type | Default | Description |
|---|---|---|---|
S3_BACKUP | yes / no | yes | Enable or disable S3 backups of deleted and overwritten RIPE objects. |
S3_ENDPOINT_URL | URL | http://minio:9000 | URL of your S3-compatible endpoint. Defaults to the bundled Minio container. |
S3_ACCESS_KEY | string | — | S3 access key. Must match MINIO_ROOT_USER when using the bundled Minio. |
S3_SECRET_ACCESS_KEY | string | — | S3 secret access key. Must match MINIO_ROOT_PASSWORD when using the bundled Minio. |
S3_BUCKET | string | ripe-backups | S3 bucket name where backup objects are stored. |
General
| Variable | Type | Default | Description |
|---|---|---|---|
DEBUG | yes / no | no | Enable verbose logging. Useful for troubleshooting webhook delivery and RIPE API calls. |
MAIL_REPORT | yes / no | no | Enable email reports on RIPE-DB update activity. |
SMTP | URL / IP | 127.0.0.1 | Address of the SMTP server used to send email reports. |
SMTP_STARTTLS | yes / no | no | Use STARTTLS when connecting to the SMTP server. |
SENDER_MAIL | — | From address used in email reports. | |
RECIPIENT_MAIL | — | Destination address for email reports. | |
TEMPLATES_DIR | path | /opt/ripeupdater/templates | Filesystem path inside the container where RIPE templates are mounted. |
INCLUDE_ORG | yes / no | yes | Include the org attribute on INETNUM and INET6NUM objects. |
INCLUDE_DESCR | yes / no | yes | Include the descr attribute on INETNUM and INET6NUM objects. |
.env.updater
NetBox setup
Configure custom fields, regions, and the webhook in NetBox.
Templates
Define RIPE object attributes using the JSON template system.