-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathtest.yml
More file actions
30 lines (30 loc) · 905 Bytes
/
test.yml
File metadata and controls
30 lines (30 loc) · 905 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
version: "2"
services:
positron:
command: ["yarn", "test"]
{% include 'templates/docker-compose-service.yml.j2' %}
environment:
- CI=true
- ELASTICSEARCH_URL=http://positron-elasticsearch:9200
- MONGOHQ_URL=mongodb://positron-mongodb:27017/positron-test
# SALT is an oss value. The '$' is escaped.
- SALT=$$2a$$10$$PJrPMBadu1NPdmnshBgFbe
env_file: ../.env.test
depends_on:
- positron-mongodb
- positron-elasticsearch
positron-elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.18
user: elasticsearch
environment:
- discovery.type=single-node
- xpack.security.enabled=false
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ports:
- "9200:9200"
positron-mongodb:
image: mongo:6.0.16
ports:
- "27017:27017"
command: ["--quiet", "--nojournal"]