-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.dev.yml
45 lines (43 loc) · 1.55 KB
/
docker-compose.dev.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: "3.8"
services:
wsi_service_dev:
build:
context: "."
target: wsi_service_dev
command:
[
"sh",
"-c",
"poetry run python -m debugpy --listen 0.0.0.0:5678 -m uvicorn wsi_service.app:app --reload --host 0.0.0.0 --loop=uvloop --http=httptools --port 8080"
]
ports:
- 5678:5678
- 8080:8080
environment:
- PYTHONDONTWRITEBYTECODE=1
- PYTHONUNBUFFERED=1
- WS_INACTIVE_HISTO_IMAGE_TIMEOUT_SECONDS=5
- WS_IMAGE_HANDLE_CACHE_SIZE=6
- WS_CORS_ALLOW_CREDENTIALS=${WS_CORS_ALLOW_CREDENTIALS}
- WS_CORS_ALLOW_ORIGINS=${WS_CORS_ALLOW_ORIGINS}
- WS_DEBUG=${WS_DEBUG}
- WS_DISABLE_OPENAPI=${WS_DISABLE_OPENAPI}
- WS_MAPPER_ADDRESS=${WS_MAPPER_ADDRESS}
- WS_LOCAL_MODE=${WS_LOCAL_MODE}
- WS_ENABLE_VIEWER_ROUTES=${WS_ENABLE_VIEWER_ROUTES}
- WS_INACTIVE_HISTO_IMAGE_TIMEOUT_SECONDS=${WS_INACTIVE_HISTO_IMAGE_TIMEOUT_SECONDS}
- WS_MAX_RETURNED_REGION_SIZE=${WS_MAX_RETURNED_REGION_SIZE}
# Auth
- WS_API_V3_INTEGRATION=${WS_API_V3_INTEGRATION}
- WS_IDP_URL=${WS_IDP_URL}
- WS_CLIENT_ID=${WS_CLIENT_ID}
- WS_ORGANIZATION_ID=${WS_ORGANIZATION_ID}
- WS_CLIENT_SECRET=${WS_CLIENT_SECRET}
- WS_AUDIENCE=${WS_AUDIENCE}
- WS_OPENAPI_AUTH_URL=${WS_OPENAPI_AUTH_URL}
- WS_OPENAPI_TOKEN_URL=${WS_OPENAPI_TOKEN_URL}
- WS_REWRITE_URL_IN_WELLKNOWN=${WS_REWRITE_URL_IN_WELLKNOWN}
- WS_REFRESH_INTERVAL=${WS_REFRESH_INTERVAL}
volumes:
- .:/wsi-service
- ${COMPOSE_DATA_DIR}:/data