-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathtest.yml
More file actions
31 lines (31 loc) · 911 Bytes
/
test.yml
File metadata and controls
31 lines (31 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: "2"
services:
positron:
command: ["yarn", "test"]
{% include 'templates/docker-compose-service.yml.j2' %}
environment:
- CI=true
- OPENSEARCH_URL=http://positron-opensearch:9200
- ELASTICSEARCH_INDEX_SUFFIX=test
- MONGOHQ_URL=mongodb://positron-mongodb:27017/positron-test
# SALT is an oss value. The '$' is escaped.
- SALT=$$2a$$10$$PJrPMBadu1NPdmnshBgFbe
- USE_OPENSEARCH=true
env_file: ../.env.test
depends_on:
- positron-mongodb
- positron-opensearch
positron-opensearch:
image: opensearchproject/opensearch:1.3.20
environment:
- discovery.type=single-node
- plugins.security.disabled=true
- bootstrap.memory_lock=true
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
ports:
- "9200:9200"
positron-mongodb:
image: mongo:7.0
ports:
- "27017:27017"
command: ["--quiet"]