mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 09:03:02 +00:00
refactor: move backend to monorepo
This commit is contained in:
27
backend/integration-test.yml
Normal file
27
backend/integration-test.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
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:master"
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user