-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathenv_auth
35 lines (32 loc) · 1.27 KB
/
env_auth
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
WS_CORS_ALLOW_CREDENTIALS=False
WS_CORS_ALLOW_ORIGINS=["*"]
WS_DEBUG=False
WS_DISABLE_OPENAPI=False
WS_MAPPER_ADDRESS=http://localhost:8080/v3/slides/storage?slide={slide_id}
WS_LOCAL_MODE=wsi_service.simple_mapper:SimpleMapper
WS_ENABLE_LOCAL_ROUTES=True
WS_ENABLE_VIEWER_ROUTES=True
WS_INACTIVE_HISTO_IMAGE_TIMEOUT_SECONDS=600
WS_IMAGE_HANDLE_CACHE_SIZE=50
WS_MAX_RETURNED_REGION_SIZE=25000000
WS_MAX_THUMBNAIL_SIZE=500
# Auth (re-uses auth config for WBS), please check the used integration script
# and its config settings (see below commented props that are set for LSAAI for example)
WS_API_V3_INTEGRATION=wsi_service.api.v3.integrations.empaia:EmpaiaApiIntegration
WS_IDP_URL=http://localhost:10082/auth/realms/EMPAIA
WS_CLIENT_ID=WBS_CLIENT
WS_CLIENT_SECRET=secret
WS_ORGANIZATION_ID=dummy_org
WS_AUDIENCE=org.empaia.auth.wbs
WS_OPENAPI_TOKEN_URL=http://localhost:10082/auth/realms/EMPAIA/protocol/openid-connect/token
WS_OPENAPI_AUTH_URL=http://localhost:10082/auth/realms/EMPAIA/protocol/openid-connect/auth
WS_REWRITE_URL_IN_WELLKNOWN=http://localhost:10082/auth/realms/EMPAIA
WS_REFRESH_INTERVAL=300
# Used with lsaai
#WS_USER_CACHE_TIMEOUT=600
#WS_USER_CACHE_SIZE=999
#OAUTH_USER_INFO_ENDPOINT=
COMPOSE_RESTART=no
COMPOSE_NETWORK=default
COMPOSE_WS_PORT=8080
COMPOSE_DATA_DIR=/data