Install with docker

Install with docker

To run the Gateway using Docker, we recommending using docker-compose.

Login into the registry

In order to be able to fetch the docker images from the registry, a token is required to retrieve the images. The login into the registry can be made with the the following command:

# The username and token must be provided by the GridCore team.
docker login registry.mz-automation.de -u <username> -p <token>

Set the docker-compose file

Create a file docker-compose.yaml with the following content:

services:
  gateway:
    image: registry.mz-automation.de/nextgen-gateway-svk/runtime-full:latest
    environment:
      - RUST_LOG=info
      - GC_RUNTIME_IGNORE_CONFIG=true
      - GC_RUNTIME_HUB_HOST=service_hub:3002
    ports:
      - "3001:3001"
    user: root

  service_hub:
    image: registry.mz-automation.de/nextgen-gateway-svk/service-hub:latest
    environment:
      - RUST_LOG=info
    ports:
      - "3002:3002"
    user: root
    volumes:
      - ./config:/app/config

Start the application

docker-compose up

This will start the Gateway and the Service Hub. The web interface will be available at http://localhost:80.

Remarks

Currently there is only a single runtime (runtime-full) image which contains all the plugins available already compiled.