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 configurations file (D:\flowy\flowy-admin\test\flowy-admin.yml in the following example) than execute:

docker load --input .\flowy-admin.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