โ๏ธ 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:
- Open the
.envfile in a text editor (example):
sudo nano /opt/ov-panel/.env
-
Make your changes and save the file.
-
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
.envand 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 |