Skip to main content
Gateway

Set Up the Gateway on the Wago PLS

How to Set Up Gateway on a Wago PLS

Written By Evolo Support

Last updated 4 days ago

Requirements

  • Wago PLS PFC200

  • Minimum firmware version 3 (Docker is already installed)

  • Only operating systems with 64-bit architecture are supported.

GitHub Repository: https://github.com/WAGO/docker-compose

Start the Evolo Gateway as a container

  1. Log in via the CLI (Command Line Interface)

  2. Create a Evolo folder in /root/ and navigate to it: mkdir /root/evolo

    cd /root/evolo

  3. Download the Docker Compose file: wget https://app.evolo.no/docker/docker-compose.yaml

  4. Log in to the Evolo Docker Registry:

    docker login registry.evolo.no


    Contact us to obtain a username and password for the registry.

  5. Start the Evolo Gateway: docker run --rm -t --privileged -v $(pwd):/compose -v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/usr/bin/docker wagoautomation/docker-compose -f docker-compose.yaml up -d


    Description of the attributes:

    --rm:
    Removes the container when it stops.

    -t:
    Assigns a pseudo-TTY, so that output appears as if it came from a terminal.

    --privileged:
    Grants extended privileges to the container, which is sometimes necessary for certain operations.

    -v $(pwd):/compose:
    Mounts the current directory ($(pwd)) to /compose-katalogen inside the container.

    -v /var/run/docker.sock:/var/run/docker.sock:
    Mounts the Docker socket inside the container. This allows the Docker client inside the container to communicate with the Docker daemon on the host.


    -v /usr/bin/docker:/usr/bin/docker:
    Mounts the Docker binary from the host into the container.

    wagoautomation/docker-compose: The
    Docker image to use.

    -f docker-compose.yaml up -d:
    Uses the docker-compose.yaml file from the current directory to start the services defined in it. -d starts them in the background, so you can close the terminal without the gateway stopping.

  6. Docker is now downloading the Evolo Gateway as a Docker container. The application will also restart when the PLS is rebooted.

Once the installation is complete and Docker is running Evolo Gateway, you can proceed to steps 2 and 3 at Add Evolo Gateway.