---------------------------------------------
| VNC_PASS | VNC Server Password |
| VNC_TITLE | VNC Session Title |
| VNC_RESOLUTION | VNC Remote Resolution |
| DISPLAY | Local Display Port |
| PORT | NoVNC HTTP Port |
| NGROK_TOKEN | Ngrok Port Forward Token |
---------------------------------------------
- Heroku Users :
- Fork this repo.
- Set values for environment variables in Dockerfile (before build), do not set $PORT variable.
- Connect your Heroku account to github via Heroku Dashboard.
- Search for vubuntu in github repo field, connect to it.
- Hit the Deploy Now Button.
- Non-Heroku Useers :
- Clone this repo.
- Set values for environment variables in Dockerfile.
- Build the image:
docker build --tag vubuntu:20.04 .
- Create container from the image and run it in detached mode:
docker run --name vubuntu -d -p <HOST-PORT>:<VALUE OF $NOVNC_PORT> vubuntu:20.04
- [ ! ] $VNC_TITLE value should be without spaces.
- [ ! ] The whole project runs as a root user in a docker container!
- [ ! ] 3rd Party Softwares dosen't work with DE on Heroku(Free Plan) due to low memory.
- Comment line #69 from Dockerfile
- Uncomment line #71, #72, #73 from Dockerfile
- Delete file conf.d/4-fluxbox.conf
- Copy the file extras/4-mate.conf to conf.d/
- Comment line #69 from Dockerfile
- Uncomment line #75, #76 from Dockerfile
- Delete file conf.d/4-fluxbox.conf
- Copy the file extras/4-xfce.conf to conf.d/