Documentation: Flowy & Docker


Please support us to improve our service. We would like to use statistics anonymously.

We do not pass on your data! You can find more information in our privacy policy.

Decline

< Back to documentation

Building Flowy as Docker images

First prepare artifacts:

mvnw clean package -Dmaven.test.skip=true

Build docker images:

docker-compose build flowy-admin
docker-compose build flowy-processing

Run images:

docker-compose up -d flowy-admin
docker-compose up -d flowy-processing

An example docker-compose configuration:

  flowy-admin:
    build:
      context: ./flowy-admin
      dockerfile: Dockerfile
      args:
        CONFIG_FILE: /etc/flowy/admin.yml
    container_name: flowy-admin
    ports:
      - "8080:8080"
    volumes:
      - ./application.yml:/etc/flowy/admin.yml

  flowy-processing:
    build:
      context: ./flowy-processing
      dockerfile: Dockerfile
      args:
        CONFIG_FILE: /etc/flowy/processing.yml
    container_name: flowy-processing
    ports:
      - "8081:8081"
    volumes:
      - ./application.yml:/etc/flowy/processing.yml

It is possible to provide an own application.yml configuration file and change the port.

Running Flowy docker images

First adjust the configuration files and than execute:

On Windows

docker load --input .\flowy-admin.docker
docker load --input .\flowy-processing.docker
docker run -it -p 8080:80 -v "D:\flowy\flowy-admin\test\flowy-admin.yml:/etc/flowy/admin.yml" --rm --name flowy-admin flowy/flowy-admin
docker run -it -p 8081:80 -v "D:\flowy\flowy-admin\test\flowy-processing.yml:/etc/flowy/processing.yml" --rm --name flowy-processing flowy/flowy-processing

On *nix

docker load --input flowy-admin.docker
docker load --input flowy-processing.docker
docker run -it -p 8080:80 -v "* /home/user/projects/flowy/flowy-main/flowy-admin.yml:/etc/flowy/admin.yml" --rm --name flowy-admin flowy/flowy-admin
docker run -it -p 8081:80 -v "* /home/user/projects/flowy/flowy-main/flowy-processing.yml:/etc/flowy/processing.yml" --rm --name flowy-processing flowy/flowy-processing

Once the admin container has completed startup, the UI should be accessible on: http://localhost:8080open in new window