> For the complete documentation index, see [llms.txt](https://docs.netmap.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.netmap.dev/reference/default-values.md).

# Default Values

| Setting                             | Default                         |
| ----------------------------------- | ------------------------------- |
| `APP_ENV`                           | `development`                   |
| `DATABASE_URL`                      | `sqlite:////app/data/netmap.db` |
| `DATA_DIR`                          | `/app/data`                     |
| `ACCESS_TOKEN_MINUTES`              | `60`                            |
| `IDLE_TIMEOUT_MINUTES`              | `15`                            |
| `REFRESH_TOKEN_DAYS`                | `7`                             |
| `API_KEY_RATE_LIMIT_MAX_CALLS`      | `120`                           |
| `API_KEY_RATE_LIMIT_WINDOW_SECONDS` | `60`                            |
| `SYSLOG_UDP_PORT`                   | `1514`                          |
| `SYSLOG_TCP_PORT`                   | `1514`                          |
| `FIREWALL_LOG_RETENTION_DAYS`       | `7`                             |

## How To Use This Page

Defaults are useful for understanding a fresh deployment, but production deployments should set explicit values for secrets, URLs, CORS origins, trusted hosts, logging, and retention.

## Security-Sensitive Defaults

Production startup rejects missing or placeholder `SECRET_KEY` and `MASTER_KEY` values. Set real values before exposing NetMap.

`AUTH_COOKIE_SECURE` defaults to `false` so local HTTP development works. Enable it for HTTPS deployments.

`SECURE_HSTS_ENABLED` defaults to `false`. Enable it only after HTTPS is working.

## Operational Defaults

Syslog retention defaults to 7 days. Increase it only if disk capacity and search performance are acceptable for your environment.

API-key rate limiting defaults to 120 calls per 60 seconds per key. Increase cautiously for heavy automation.

## Related Pages

* [Configuration Reference](/configuration/configuration.md)
* [Environment Variables](/configuration/environment-variables.md)
* [Ports](/reference/ports.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.netmap.dev/reference/default-values.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
