ProxmoxAAS-Dashboard/README.md

41 lines
2.4 KiB
Markdown
Raw Normal View History

2023-09-15 07:02:42 +00:00
# ProxmoxAAS Dashboard - Proxmox As A Service User Web Interface
ProxmoxAAS Dashboard provides users of a proxmox based compute on demand service a simplified UI which gives users power management, console access, and instance configuration utility. It also allows administrators to set resource quotas for users and allows users to configure instances without administrator priviledges.
2023-01-10 01:50:05 +00:00
## Features
2023-09-15 07:02:42 +00:00
- Simplified interface for non administrator users
2023-01-10 01:50:05 +00:00
- Instance power management
- Instance resource configuration
- Instance creation and destruction
2023-03-01 05:03:52 +00:00
- Remote console
2023-04-11 22:34:32 +00:00
- Extended account management
2023-01-10 01:50:05 +00:00
## Prerequisites
- Proxmox VE Cluster (v7.0+)
2023-09-15 07:02:42 +00:00
- Reverse proxy server which can proxy the dashboard and API
2023-04-11 22:34:32 +00:00
- FQDN
2023-09-15 07:02:42 +00:00
- Web server to host the ProxmoxAAS Dashboard (ie Apache2)
2023-01-10 01:50:05 +00:00
## Notes
2023-09-15 07:02:42 +00:00
The supported setup is to use a reverse proxy to serve both the original Proxmox web interface and ProxmoxAAS Dashboard. It is possible other setups can work. Rather than provide specific steps to duplicate a certain setup, the steps included are intended as a guideline of steps required for proper function in most setups. Consequently, the examples provided are only to highlight key settings and do not represent complete working configurations. The instructions also assume you have your own domain name which will substitute `<FQDN>` in some of the configs.
2023-01-10 01:50:05 +00:00
2023-09-15 07:02:42 +00:00
## Installation - Dashboard
1. Install Apache2 or another HTTP server onto a container or vm, which will be `Dashboard Host`
2. Clone this repo onto `Dashboard Host`, the default location for web root is `/var/www/html/`
4. Configure Apache2 to serve the app at port 80 by adding the file `dashboard.conf` to `/etc/apache2/sites-avaliable/` with at least the following:
2023-01-10 01:50:05 +00:00
```
<VirtualHost *:80>
2023-09-15 07:02:42 +00:00
DocumentRoot /var/www/html/ProxmoxAAS-Dashboard/
2023-01-10 01:50:05 +00:00
</VirtualHost>
```
2023-09-15 07:02:42 +00:00
4. Enable the site by running `a2ensite dashboard`
2023-01-10 01:50:05 +00:00
2023-09-15 07:02:42 +00:00
After this step, the Dashboard should be available on the `Dashboard Host` at port `80`
2023-03-01 05:03:52 +00:00
2023-09-15 07:02:42 +00:00
## Configuration - Dashboard
1. In `Dashboard Host`, navigate to this repo's root folder
2. Rename `template.vars.js` to `vars.js` and assign the `API` variable with the value of the API's URL. This will likely be `dashboard.<FQDN>/api`
2023-03-01 05:03:52 +00:00
2023-04-20 21:26:51 +00:00
## Installation - API
2023-01-24 01:45:03 +00:00
2023-09-15 07:02:42 +00:00
To install the API, go to [ProxmoxAAS API](https://github.com/tronnet-gh/ProxmoxAAS-API). This is required for the app to function. The API installation will also have steps for setting up the reverse proxy server.