-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (41 loc) · 803 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (41 loc) · 803 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
31
32
33
34
35
36
37
38
39
40
41
42
version: "2"
services:
web:
image: "node:lts"
user: "node"
working_dir: /home/node/app
environment:
- NODE_ENV=test
- PORT=4000
- LOG_LEVEL=info
- DEBUG=
- MONGO_HOST=
- MONGO_PORT=
- MONGO_DB=
- MONGO_USER=
- MONGO_PASS=
- MONGO_URL=mongodb://mongo/test
- SQL_HOST=
- SQL_HOST_READ=
- SQL_HOST_WRITE=
- SQL_PORT=5432
- SQL_DB=test
- SQL_USER=postgres
- SQL_PASS=
- SQL_DIALECT=postgres
- SQL_POOL_LIMIT=100
volumes:
- ./:/home/node/app
ports:
- "4000:4000"
depends_on:
- mongo
links:
- mongo
command: "npm run test:integration"
mongo:
image: mongo:latest
logging:
driver: none
ports:
- "27017:27017"