Files
openstapps/integration-test.yml
2023-04-28 12:43:31 +00:00

28 lines
777 B
YAML

version: '3'
services:
backend:
ports:
- "3000:3000"
build: .
environment:
STAPPS_LOG_LEVEL: "31"
STAPPS_EXIT_LEVEL: "8"
NODE_CONFIG_ENV: "elasticsearch"
NODE_ENV: "integration-test"
ALLOW_NO_TRANSPORT: "true"
ES_ADDR: "http://elasticsearch:9200"
elasticsearch:
ports:
- "9200:9200"
image: "registry.gitlab.com/openstapps/database:latest"
apicli:
image: "registry.gitlab.com/openstapps/api/cli:latest"
environment:
STAPPS_LOG_LEVEL: "31"
STAPPS_EXIT_LEVEL: "8"
volumes:
- ./node_modules/@openstapps/core/test/resources:/@openstapps/core/test/resources:ro
command: e2e http://backend:3000 --waiton tcp:backend:3000 --samples /@openstapps/core/test/resources/indexable