Skip to content

โš™๏ธ Configuration

You can edit OV Panel by configuring the .env file to match your environment. This file controls admin credentials, panel settings, SSL options, and developer options.

During installation the installer will prompt for the main values (admin username/password, port path) and populate the .env automatically. Editing the file manually is optional โ€” use these steps if you want to change values after installation:

  1. Open the .env file in a text editor (example):
sudo nano /opt/ov-panel/.env
  1. Make your changes and save the file.

  2. Restart the panel service (example for systemd):

sudo systemctl restart ov-panel

The .env file is located in the root of your installation directory (for example: /opt/ov-panel/.env).


๐Ÿงพ Example .env file

# Admin credentials
ADMIN_USERNAME=admin
ADMIN_PASSWORD=admin

# Panel settings
URLPATH=dashboard
PORT=9000

# SSL settings (optional)
#SSL_KEYFILE=/path/to/keyfile
#SSL_CERTFILE=/path/to/certfile

# Developer options (optional)
#DEBUG=INFO
#DOC=True

๐Ÿ”ง Configuration Details

๐Ÿงโ€โ™‚๏ธ Admin Credentials

Variable Description
ADMIN_USERNAME The username for logging into the OV Panel.
ADMIN_PASSWORD The password for the admin account.

โš™๏ธ Panel Settings

Variable Description
URLPATH The path used in your panel URL (default: dashboard).
PORT The port number the OV Panel runs on (default: 9000).

Example access URL:

http://your-server-ip:9000/dashboard


๐Ÿ” SSL Settings (Optional)

Variable Description
SSL_KEYFILE Path to your SSL private key file.
SSL_CERTFILE Path to your SSL certificate file.

To enable HTTPS, uncomment both lines in your .env and provide valid certificate paths.

Example:

SSL_KEYFILE=/etc/letsencrypt/live/yourdomain.com/privkey.pem
SSL_CERTFILE=/etc/letsencrypt/live/yourdomain.com/fullchain.pem

Then restart the panel service (example for systemd):

sudo systemctl restart ov-panel

๐Ÿ›  Developer Options (Optional)

Variable Description
DEBUG Logging level. One of: DEBUG, INFO (default), WARNING, ERROR, CRITICAL. Example: DEBUG=INFO. Set to DEBUG for verbose output useful when troubleshooting.
DOC API documentation