This repository is used to build and publish the Docker Image for Manniwatch.
You either can set the Endpoint information during build time via build args:
docker build -t manniwatch --build-arg MW_DEFAULT_ENDPOINT=test.domain ./
Variable | Default | Description |
---|---|---|
MW_DEFAULT_ENDPOINT | undefined | Endpoint to query traffic data from |
docker run --env MW_ENDPOINT="test2.domain" -it manniwatch
Options are:
Variable | Default | Description |
---|---|---|
MW_ENDPOINT | build-arg MW_DEFAULT_ENDPOINT | Endpoint to query traffic data from |
You can either run in api only
or full
mode. One does only provide the rest api while the other provides the web client too. Default is api
docker run -it manniwatch api
If you want to run in full mode you will have to mount the client-ng files to the directory /manniwatch/client
.
docker run -it manniwatch full