Before you begin
Use a new Linux host with Docker Engine and Docker Compose v2 installed. You also need Bash and standard Linux utilities. Do not reuse an existing RadiusStack data directory or .env for a fresh installation.
1. Obtain the release
- Download and extract the RadiusStack source archive, or clone the repository.
- Open a shell in the extracted
RadiusStackdirectory.
git clone https://github.com/deangoldhill/RadiusStack.git
cd RadiusStack
2. Create private configuration
Run the guided setup and answer N when asked to enable HA. Press Enter to generate fresh passwords and keys, retain Europe/London, and use the default ports unless they conflict with another service. The wizard writes a private .env with mode 0600.
bash setup_env.sh
Alternatively, copy .env.example to .env, set mode 0600, and replace the public defaults for DB_ROOT_PASSWORD, DB_PASSWORD, JWT_SECRET, and RADSEC_PASSPHRASE_ENCRYPTION_KEY.
3. Start and verify
docker compose up -d --build
docker compose psOpen http://<server>:<WEB_UI_PORT> (port 80 by default). Confirm the database migration completes and the Radius, API, and web UI services are running before adding NAS clients or users.
Operational notes
Keep the customized .env private and retain it for upgrades. Review published ports before deployment, especially RADIUS authentication (1812/UDP), accounting (1813/UDP), optional RadSec (2083/TCP), and the web UI.