-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
43 lines (38 loc) · 1.13 KB
/
docker-compose.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
version: "2.3"
services:
unprotected-server:
image: approov/nodejs-express:17.7.1
build: ./
environment:
- DEBUG=hello-server
networks:
- default
command: sh -c "npm install && npm start"
ports:
- ${HOST_IP:-127.0.0.1}:${HTTP_PORT:-8002}:${HTTP_PORT:-8002}
volumes:
- ./servers/hello/src/unprotected-server:/home/node/workspace
approov-token-check:
image: approov/nodejs-express:17.7.1
build: ./
environment:
- DEBUG=hello-server
networks:
- default
command: sh -c "npm install && npm start"
ports:
- ${HOST_IP:-127.0.0.1}:${HTTP_PORT:-8002}:${HTTP_PORT:-8002}
volumes:
- ./servers/hello/src/approov-protected-server/token-check:/home/node/workspace
approov-token-binding-check:
image: approov/nodejs-express:17.7.1
build: ./
environment:
- DEBUG=hello-server
networks:
- default
command: sh -c "npm install && npm start"
ports:
- ${HOST_IP:-127.0.0.1}:${HTTP_PORT:-8002}:${HTTP_PORT:-8002}
volumes:
- ./servers/hello/src/approov-protected-server/token-binding-check:/home/node/workspace