forked from Skydipper/document-adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-test.yml
46 lines (43 loc) · 1.13 KB
/
docker-compose-test.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: "3"
services:
test:
build: .
ports:
- "4000:4000"
container_name: document
environment:
NODE_ENV: test
PORT: 4000
NODE_PATH: app/src
MICROSERVICE_TOKEN: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Im1pY3Jvc2VydmljZSIsImNyZWF0ZWRBdCI6IjIwMTYtMDktMTQifQ.IRCIRm1nfIQTfda_Wb6Pg-341zhV8soAgzw7dd5HxxQ
STAMPERY_TOKEN:
S3_ACCESS_KEY_ID:
S3_SECRET_ACCESS_KEY:
HOST_IP: 127.0.0.1
GATEWAY_URL: http://mymachine:9000
RABBITMQ_URL: amqp://rabbitmq:5672
NODE_TLS_REJECT_UNAUTHORIZED: 0
ELASTIC_URL: https://opendistro:9200
ELASTIC_TEST_URL: opendistro:9200
ELASTIC_USER: admin
ELASTIC_PASSWORD: admin
FASTLY_ENABLED: "false"
AWS_REGION: "us-east-1"
AWS_ACCESS_KEY_ID: "test"
AWS_SECRET_ACCESS_KEY: "test"
command: test
depends_on:
- rabbitmq
- opendistro
rabbitmq:
image: rabbitmq
ports:
- "5672"
opendistro:
container_name: opendistro
image: amazon/opendistro-for-elasticsearch:1.10.1
environment:
discovery.type: single-node
ports:
- "9200"
- "9600"