-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (32 loc) · 1.1 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/python-fastapi:3.10
build: ./
networks:
- default
command: bash -c "uvicorn hello-server-unprotected:app --reload --port 8002 --host 0.0.0.0"
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-fastapi:3.10
build: ./
networks:
- default
command: bash -c "uvicorn hello-server-protected:app --reload --port 8002 --host 0.0.0.0"
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-fastapi:3.10
build: ./
networks:
- default
command: bash -c "uvicorn hello-server-protected:app --reload --port 8002 --host 0.0.0.0"
ports:
- ${HOST_IP:-127.0.0.1}:${HTTP_PORT:-8002}:${HTTP_PORT:-8002}
volumes:
- ./src/approov-protected-server/token-binding-check:/home/python/workspace