---
title: Configuration
description: A few environment variables for install-time settings. Everything else is on the admin page.
---

| Variable | Default | What it does |
| --- | --- | --- |
| `PORT` | `4100` | The port Aruvi listens on. |
| `ARUVI_DATA_DIR` | `./aruvi-data` (`/data` in Docker) | Where the database, files and secret live. |
| `ARUVI_PUBLIC_URL` | `http://localhost:PORT` | The address people and agents reach Aruvi at. Needed for agents. |
| `ARUVI_DISABLE_SIGNUP` | `false` | Set to `true` to keep sign-ups off, whatever the admin page says. |
| `ARUVI_S3_BUCKET` | | Store uploaded files in this S3 bucket instead of the data directory. |
| `ARUVI_S3_ENDPOINT` | | The S3 endpoint, for storage other than AWS, such as Cloudflare R2 or MinIO. |
| `ARUVI_S3_REGION` | | The bucket's region. |
| `ARUVI_S3_ACCESS_KEY_ID` | | Required with a bucket. |
| `ARUVI_S3_SECRET_ACCESS_KEY` | | Required with a bucket. |

Files already saved stay where they were saved, so you can switch to S3 later without moving anything.

## On the admin page

- **Allow new accounts.** Turn sign-ups on or off.
- **Fetch links on private networks.** By default Aruvi won't fetch addresses on your local network, so a saved link can't be used to reach other machines. Turn this on to save pages from a NAS or other home server.
- **AI.** The default AI provider for everyone, which jobs run, and how much they've used. See [AI](/ai).
- **Accounts.** Everyone with an account, and deleting one.

Uploads are limited to 50 MB per file. There are no per-person storage limits.
