-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
46 lines (41 loc) · 1.37 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
version: "2.3"
services:
unprotected-server:
image: approov/python-flask:${FLASK_ENV:-development}
build: ./
environment:
- FLASK_ENV=${FLASK_ENV:-development}
- FLASK_APP=hello-server-unprotected.py
networks:
- default
command: "flask run -h 0.0.0.0 --port ${HTTP_PORT:-8002}"
ports:
- ${HOST_IP:-127.0.0.1}:${HTTP_PORT:-8002}:${HTTP_PORT:-8002}
volumes:
- ./src/unprotected-server:/home/python/workspace
approov-token-check:
image: approov/python-flask:${FLASK_ENV:-development}
build: ./
environment:
- FLASK_ENV=${FLASK_ENV:-development}
- FLASK_APP=hello_server_protected.py
networks:
- default
command: "flask run -h 0.0.0.0 --port ${HTTP_PORT:-8002}"
ports:
- ${HOST_IP:-127.0.0.1}:${HTTP_PORT:-8002}:${HTTP_PORT:-8002}
volumes:
- ./src/approov-protected-server/token-check:/home/python/workspace
approov-token-binding-check:
image: approov/python-flask:${FLASK_ENV:-development}
build: ./
environment:
- FLASK_ENV=${FLASK_ENV:-development}
- FLASK_APP=hello_server_protected.py
networks:
- default
command: "flask run -h 0.0.0.0 --port ${HTTP_PORT:-8002}"
ports:
- ${HOST_IP:-127.0.0.1}:${HTTP_PORT:-8002}:${HTTP_PORT:-8002}
volumes:
- ./src/approov-protected-server/token-binding-check:/home/python/workspace