-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-test.yml
39 lines (37 loc) · 1 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
version: "3"
services:
test:
build: .
ports:
- "35726"
container_name: gfw-subscription-api-test
environment:
API_GATEWAY_EXTERNAL_URL: http://127.0.0.1:9000
API_GATEWAY_QUEUE_NAME: mail
REDIS_URL: redis://redis:6379
MICROSERVICE_TOKEN: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Im1pY3Jvc2VydmljZSIsImNyZWF0ZWRBdCI6IjIwMTYtMDktMTQifQ.IRCIRm1nfIQTfda_Wb6Pg-341zhV8soAgzw7dd5HxxQ
GATEWAY_URL: http://controltower:9000
FLAGSHIP_URL: http://staging.globalforestwatch.org
HOST_IP: 127.0.0.1
MONGO_PORT_27017_TCP_ADDR: mongo
MONGO_PORT_27017_TCP_PORT: 27017
NODE_ENV: test
PORT: 35726
FASTLY_ENABLED: "false"
AWS_REGION: "us-east-1"
AWS_ACCESS_KEY_ID: "test"
AWS_SECRET_ACCESS_KEY: "test"
REQUIRE_API_KEY: true
command: test
depends_on:
- mongo
- redis
redis:
image: redis
ports:
- "6379"
mongo:
image: mongo:3.6
command: --smallfiles
ports:
- "27017"