The Gladius Edge Daemon serves static content to a web browser. See the main gladius-node repository to see more.
Running the Edge Daemon in a docker container
$ docker run -it -v YOUR_GLADIUS_PATH:/root/.gladius \
-p 8080:8080 gladiusio/edged:latest
$ docker build --tag=gladiusio/edged .
$ docker run -it -v $(pwd)/gladius:/root/.gladius -p 8080:8080 \
gladiusio/edged:latest
- Runs the container mapping the local
./gladius
folder in this directory to the Docker container - Exposes the content port
You will need Go 1.11.4 or higher (some issues with go mod checksums below that)
Run make
. The binary will be in ./build
Check out the gladius-node repository for Dockerized cross compilation.
Check out our example config to see what values are available.