Versions Compared

Key

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

Docker deploy example

...

If running this along with other components on docker usinf docker-compose, you can add the following to your docker-compose.yml file under the services -

  redcap-integration:
    build: .
    image: redcapintegration
    networks:
      - default
    restart: always
    volumes:
      - "./radar.yml:/usr/local/tomcat/conf/radar/"
    healthcheck:
      test: ["CMD", "curl", "-IX", "POST", "http://localhost:8080/redcap/trigger"]
      interval: 1m
      timeout: 5s
      retries: 3

Please check the RADAR-base platform docker-compose.yml file for more information.

NOTE: If you don't want to build docker image from source and want to use a release version of the app for docker you can also pull one of the images from docker hub registry - radarbase/radar-redcapintegration