Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip
titleBefore you begin:

The exported Docker artifacts use docker-compose for this purpose. Therefore to run the artifacts, you need to install the following in the running environment.

Configuring Docker in SP

By default, WSO2 SP uses theĀ latest docker image hosted inĀ wso2.docker.com. If you want to use the different version of an image, follow the steps below:

...

Info

This feature also uses the following configuration files with the content as shown below:

  • docker-compose.editor.yaml

    Code Block
    languagexml
    version: '2.3'
    services:
      editor:
        image: docker.wso2.com/wso2sp-editor:{{PRODUCT_VERSION}}
        container_name: wso2sp-editor
        ports:
          - "9390:9390"
        healthcheck:
          test: ["CMD", "nc", "-z","localhost", "9390"]
          interval: 10s
          timeout: 120s
          retries: 5
        volumes:
          - ./siddhi-files:/home/wso2carbon/wso2-artifact-volume/wso2/editor/deployment/workspace
  • docker-compose.worker.yml

    Code Block
    languagexml
    version: '2.3'
    services:
      editor:
        image: docker.wso2.com/wso2sp-worker:{{PRODUCT_VERSION}}
        container_name: wso2sp-worker
        ports:
          - "9090:9090"
        healthcheck:
          test: ["CMD", "nc", "-z","localhost", "9090"]
          interval: 10s
          timeout: 120s
          retries: 5
        volumes:
          - ./siddhi-files:/home/wso2carbon/wso2-artifact-volume/wso2/worker/deployment/siddhi-files

Exporting Siddhi files

To export multiple Siddhi files, follow the steps below:

...