-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (44 loc) · 1.31 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
43
44
45
46
47
48
version: "2.3"
services:
unprotected-server:
image: approov/openjdk:11.0.3
build:
context: ./docker
env_file:
- .env
networks:
- default
command: sh -c "./gradlew build && ./gradlew bootRun"
ports:
- ${HOST_IP:-127.0.0.1}:${HTTP_PORT:-8002}:${HTTP_PORT:-8002}
volumes:
- ./servers/hello/src/unprotected-server:/home/developer/workspace
- ./.local/.gradle:/home/developer/.gradle
approov-token-check:
image: approov/openjdk:11.0.3
build:
context: ./docker
env_file:
- .env
networks:
- default
command: sh -c "./gradlew build && ./gradlew bootRun"
ports:
- ${HOST_IP:-127.0.0.1}:${HTTP_PORT:-8002}:${HTTP_PORT:-8002}
volumes:
- ./servers/hello/src/approov-protected-server/token-check:/home/developer/workspace
- ./.local/.gradle:/home/developer/.gradle
approov-token-binding-check:
image: approov/openjdk:11.0.3
build:
context: ./docker
env_file:
- .env
networks:
- default
command: sh -c "./gradlew build && ./gradlew bootRun"
ports:
- ${HOST_IP:-127.0.0.1}:${HTTP_PORT:-8002}:${HTTP_PORT:-8002}
volumes:
- ./servers/hello/src/approov-protected-server/token-binding-check:/home/developer/workspace
- ./.local/.gradle:/home/developer/.gradle