version: "3.7" services: mongodb-test: image: $CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX/mongo ports: - "27017:27017" redis-test: image: $CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX/redis network_mode: host scibec-test-server: image: $CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX/scibec network_mode: host depends_on: - "mongodb-test" volumes: # mount the functionalAccounts.json file to the container - ./functionalAccounts.json:/home/node/app/functionalAccounts.json healthcheck: test: curl --fail http://localhost:3030/sessions || exit 1, interval: 60s timeout: 5s start_period: 20s retries: 5 # redis-cli: # image: redis:latest # depends_on: # - "redis-test" # command: redis-cli monitor > /data/redis.log # network_mode: host # volumes: # - /tmp:/data