gladiusio / gladius-edged

The Gladius Network daemon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gladius Edged

The Gladius Edge Daemon serves static content to a web browser. See the main gladius-node repository to see more.

Docker

Running the Edge Daemon in a docker container

From Docker Hub

$ docker run -it -v YOUR_GLADIUS_PATH:/root/.gladius \
    -p 8080:8080 gladiusio/edged:latest

Build from GitHub

$ 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

Build from source

For your machine

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

Cross compile

Check out the gladius-node repository for Dockerized cross compilation.

Config

Check out our example config to see what values are available.

About

The Gladius Network daemon

License:GNU General Public License v3.0


Languages

Language:Go 91.6%Language:Makefile 5.3%Language:Shell 1.9%Language:Dockerfile 1.2%