-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.test.yml
52 lines (52 loc) · 1.19 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
47
48
49
50
51
52
version: "3.7"
services:
app:
container_name: app
env_file:
- envdev
volumes:
- ./:/usr/src/app
command: node_modules/mocha/bin/mocha --exit test/api/routes/access/networks.js
build: ./dev/
depends_on:
- mongo
secrets:
- ca.key
- ca.crt
- server.key
- server.crt
- frontEndClientId.txt
- testUserPassword.txt
- testUserPassword2.txt
- frontEndClientSecret.txt
- clientId.txt
- clientSecret.txt
mongo:
image: mongo
logging:
driver: none
volumes:
- ../testdata:/data/db
expose:
- "27017"
secrets:
ca.key:
file: ./../secrets/ca.key
ca.crt:
file: ./../secrets/ca.crt
server.key:
file: ./../secrets/server-key.pem
server.crt:
file: ./../secrets/server-crt.pem
frontEndClientId.txt:
file: ./../secrets/frontEndClientId.txt
frontEndClientSecret.txt:
file: ./../secrets/frontEndClientSecret.txt
testUserPassword.txt:
file: ./../secrets/testUserPassword.txt
testUserPassword2.txt:
file: ./../secrets/testUserPassword2.txt
clientId.txt:
file: ./../secrets/clientId.txt
clientSecret.txt:
file: ./../secrets/clientSecret.txt