forked from selsamman/amorphic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (31 loc) · 781 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (31 loc) · 781 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
version: '2'
services:
database_6:
image: postgres:9.4-alpine
ports:
- '5432:5432'
environment:
- POSTGRES_USER=amorphic
- POSTGRES_PASSWORD=amorphic
- POSTGRES_DB=persistor_banking_6
# uncomment to save data between tests
# volumes:
# - ./.postgres_6:/var/lib/postgresql/data
mongo:
image: mongo:3.4
ports:
- '27017:27017'
# uncomment to save data between tests
# volumes:
# - ./.mongo:/data/db
amorphic-test-node-6:
build:
context: .
dockerfile: Dockerfile-node-6
image: amorphic-test-node-6:latest
depends_on:
- mongo
- database_6
env_file:
- ./test-node-6.env
command: ./wait-for-it.sh database_6:5432 -- ./wait-for-it.sh mongo:27017 -- npm run test