Setup and Configuration

<< Click to Display Table of Contents >>

Raynet One > 2026.1 > Installation and Operations Guide > Raynet One On-Premises Installation and Operations Guide 

Setup and Configuration

This section describes the initial setup and configuration steps required before deploying Raynet One.

 

Step 1: Generate Environment Variables

This repository does not include a default .env file. You must generate it.

 

Run:

./generate_env.sh

 

This creates a fresh .env file with secure random secrets and passwords.

 

Important: Treat the generated .env as sensitive. Restrict file permissions and storage access.

 

Step 2: Configure Domain

Edit the .env file and set:

 

DOMAIN_NAME=<your target domain>

 

For example: raynetone.example.com

 

Step 3: Update Nginx vhost Configurations

Nginx configuration files in nginx/vhost.d/ depend on the configured domain name.

 

After changing DOMAIN_NAME, run:

./update_vhosts.sh

 

This script renames and aligns vhost configuration files to match the new domain.