-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-test.yml
46 lines (44 loc) · 1.04 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
46
version: "3"
services:
test:
build: .
ports:
- "9000:9000"
container_name: authorization-test
environment:
NODE_ENV: test
SESSION_KEY: test
PORT: 9000
NODE_PATH: app/src
JWT_SECRET: mysecret
COOKIE_DOMAIN: mymachine
PUBLIC_URL: http://127.0.0.1:9000
REDIS_URL: redis://redis:6379
ALLOW_CONFIG_MUTATIONS: "true"
GATEWAY_URL: http://127.0.0.1:8000
MICROSERVICE_TOKEN: cttoken
LOCAL_URL: http://127.0.0.1:9000
HOST_IP: 127.0.0.1
FASTLY_ENABLED: "false"
GFW_APPLE_AUTH_KEY: "test"
AWS_REGION: "us-east-1"
AWS_ACCESS_KEY_ID: "test"
AWS_SECRET_ACCESS_KEY: "test"
MONGO_HOST: mongo
REQUIRE_API_KEY: 'false'
command: test
depends_on:
- redis
- mongo
volumes:
- /var/run/docker.sock:/var/run/docker.sock
redis:
image: redis
container_name: authorization-redis
ports:
- "16379:6379"
mongo:
image: mongo:3.6
container_name: authorization-mongo
ports:
- "27017"