-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (32 loc) · 1.04 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
version: "2.3"
services:
unprotected-server:
image: approov/php:8.1.4
build: ./
networks:
- default
command: sh -c "php -S 0.0.0.0:8002 hello-server-unprotected.php"
ports:
- ${HOST_IP:-127.0.0.1}:${HTTP_PORT:-8002}:${HTTP_PORT:-8002}
volumes:
- ./src/unprotected-server:/home/developer/workspace
approov-token-check:
image: approov/php:8.1.4
build: ./
networks:
- default
command: sh -c "composer install && php -S 0.0.0.0:8002 hello-server-protected.php"
ports:
- ${HOST_IP:-127.0.0.1}:${HTTP_PORT:-8002}:${HTTP_PORT:-8002}
volumes:
- ./src/approov-protected-server/token-check:/home/developer/workspace
approov-token-binding-check:
image: approov/php:8.1.4
build: ./
networks:
- default
command: sh -c "composer install && php -S 0.0.0.0:8002 hello-server-protected.php"
ports:
- ${HOST_IP:-127.0.0.1}:${HTTP_PORT:-8002}:${HTTP_PORT:-8002}
volumes:
- ./src/approov-protected-server/token-binding-check:/home/developer/workspace