convergencelabs / convergence-admin-console-container

The container build of the Convergence Admin Console

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Convergence Logo

Convergence Admin Console Container

Build

This repository builds the official OCI Container for the Convergence Admin Console. The project obtains the Convergence Admin Console distribution using npm. To change the version of the Convergence Admin Console edit the src/package.json file.

The container is based off of the nginx apline continer. The container uses confd to write the javascript configuration file based on environment variables passed to the container.

Running

The container requires three environment variables to be set to run properly:

  • CONVERGENCE_CONSOLE_BASE_URL: The context url that the Convergence Admin Console will be served from. For example, if the url will be https://www.example.com/console/, then this environment variable should be set to "console/".
  • CONVERGENCE_SERVER_REST_API: The url to the Convergence Server REST API.
  • CONVERGENCE_SERVER_REALTIME_API: The url to the Convergence Server Realtime API.

An example docker run might look like this:

docker run --rm \
  --publish 8000:80 \
  --env CONVERGENCE_CONSOLE_BASE_URL=/ \
  --env CONVERGENCE_SERVER_REST_API=http://localhost:8081/ \
  --env CONVERGENCE_SERVER_REALTIME_API=https://localhost:8080/ \
  convergencelabs/convergence-admin-console

A convenience script has been provided to run the container after it is build. Simply use the following command:

scripts/run.sh

Building

There are several scripts that help build the project. To locally build the docker container use the following command:

scripts/build.sh

This will build the container and tag it with the convergencelabs/convergence-admin-console tag.

If you wish to push to a different repository or use a different tag, re-tag the build using the docker tag command. For example:

docker tag convergencelabs/convergence-admin-console myrepo.example.org/convergence-admin-console:latest
docker push myrepo.example.org/convergence-admin-console

Support

Convergence Labs provides several different channels for support:

License

The Convergence Admin Console is licensed under the GNU Public License v3 (GPLv3) license. Refer to the LICENSE for the specific terms and conditions of the license.

The Convergence Admin Console is also available under a Commercial License. If you are interested in a non-open source license please contact us at Convergence Labs.

About

The container build of the Convergence Admin Console

License:GNU General Public License v3.0


Languages

Language:Shell 55.3%Language:Dockerfile 35.2%Language:JavaScript 9.5%