- noVNC and websockify
Both are from same group.
https://github.com/novnc/noVNC
https://github.com/novnc/websockify
Clone just noVNC. cd into noVNC
https://github.com/novnc/noVNC
https://github.com/novnc/websockify
Clone just noVNC. cd into noVNC
| from flask import Flask, send_from_directory, request | |
| app = Flask(__name__) | |
| @app.route('/<path:path>') | |
| def serve_file(path): | |
| if path.endswith(".gz"): | |
| response = send_from_directory('.', path) | |
| response.headers['Content-Encoding'] = 'gzip' | |
| return response |
We need NPM to run in network host so it can make use of 127.0.0.1 when setting new hosts, otherwise it will be considered NPM container itself, not the server.
services:
app:
container_name: nginxproxymanager
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped$EMSDK as environment var in your .profile/.zprofile/.bashrc/zshrc to make it easier laterinstall will run for a long timegit clone --depth=1 --recurse-submodules --shallow-submodules https://github.com/emscripten-core/emsdk.git
cd emsdk
export EMSDK=$(pwd) # save in you .profile or .bashrc/.zshrc
$EMSDK/emsdk install --shallow sdk-main-64bit # this takes a long time