-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathtest.yml
More file actions
29 lines (29 loc) · 903 Bytes
/
test.yml
File metadata and controls
29 lines (29 loc) · 903 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
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:5.6.16
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:4.0
ports:
- "27017:27017"
command: ["--storageEngine=mmapv1", "--quiet", "--nojournal"]