refactor: move backend to monorepo

This commit is contained in:
2023-03-14 16:48:35 +01:00
parent 515a6eeea5
commit 73edb5fd43
78 changed files with 0 additions and 4 deletions

View 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