-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtdei_uw.env
More file actions
132 lines (106 loc) · 5.58 KB
/
Copy pathtdei_uw.env
File metadata and controls
132 lines (106 loc) · 5.58 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
#
# Resources for dev and stage are often db-dev, db-stage, while prod resources
# are just "db", not "db-prod". This variable allows us to construct the
# environment-prefixed variable values without putting the "-" in ENV which is
# used elsewhere.
#
# **This variable should therefore be set to empty string on prod **
#
ENV_NAME_PARAM=-${ENV}
###############################################################################
# Docker
###############################################################################
WS_DOCKER_REGISTRY=${WS_DOCKER_REGISTRY}
###############################################################################
# PLATFORM
###############################################################################
WS_PLATFORM_NAME=TDEI Workspaces ${ENV}
WS_PLATFORM_NAME_SHORT=Workspaces
WS_PLATFORM_WEBSITE=https://sidewalks.washington.edu/
WS_PLATFORM_ORG_WEBSITE=https://tcat.cs.washington.edu/
WS_PLATFORM_PRIVACY_POLICY=https://sidewalks.washington.edu/privacy
SENTRY_AUTH_TOKEN=${SENTRY_AUTH_TOKEN}
SENTRY_DSN=${SENTRY_DSN}
###############################################################################
# Web
###############################################################################
WS_TDEI_FRONTEND_URL=https://portal${ENV_NAME_PARAM}.tdei.us/
WS_TDEI_BACKEND_URL=https://portal-api${ENV_NAME_PARAM}.tdei.us/api/v1/
WS_TDEI_API_URL=https://api${ENV_NAME_PARAM}.tdei.us/api/v1/
WS_TDEI_OIDC_URL=https://account${ENV_NAME_PARAM}.tdei.us/
WS_TDEI_OIDC_REALM=tdei
LB_FRONTEND_HOST=leaderboard${ENV_NAME_PARAM}.sidewalks.washington.edu
LB_BACKEND_HOST=api.leaderboard${ENV_NAME_PARAM}.sidewalks.washington.edu
WS_FRONTEND_HOST=workspaces${ENV_NAME_PARAM}.sidewalks.washington.edu
WS_API_HOST=api.workspaces${ENV_NAME_PARAM}.sidewalks.washington.edu
WS_NEW_API_HOST=new-api.workspaces${ENV_NAME_PARAM}.sidewalks.washington.edu
WS_RAPID_HOST=rapid.workspaces${ENV_NAME_PARAM}.sidewalks.washington.edu
WS_PATHWAYS_EDITOR_HOST=pathways.workspaces${ENV_NAME_PARAM}.sidewalks.washington.edu
WS_OSM_HOST=osm.workspaces${ENV_NAME_PARAM}.sidewalks.washington.edu
WS_TASKS_HOST=tasks.workspaces${ENV_NAME_PARAM}.sidewalks.washington.edu
WS_FRONTEND_URL=https://${WS_FRONTEND_HOST}/
WS_API_URL=https://${WS_API_HOST}/api/v1/
WS_NEW_API_URL=https://${WS_NEW_API_HOST}/api/v1/
WS_RAPID_URL=https://${WS_RAPID_HOST}/rapid2/
WS_RAPID3_URL=https://${WS_RAPID_HOST}/rapid3/
WS_PATHWAYS_EDITOR_URL=https://${WS_PATHWAYS_EDITOR_HOST}/
WS_OSM_URL=https://${WS_OSM_HOST}/
WS_TASKS_URL=https://${WS_TASKS_HOST}/
WS_API_CORS_ORIGINS=["https://${WS_FRONTEND_HOST}"]
WS_OSM_SECRET_KEY_BASE=${WS_OSM_SECRET_KEY_BASE}
WS_TASKS_SECRET_KEY=${WS_TASKS_SECRET_KEY}
WS_MAPBOX_ACCESS_TOKEN=${WS_MAPBOX_ACCESS_TOKEN}
WS_FRONTEND_SENTRY_DSN=${WS_FRONTEND_SENTRY_DSN}
WS_API_SENTRY_DSN=${WS_API_SENTRY_DSN}
###############################################################################
# Schemas
###############################################################################
WS_IMAGERY_SCHEMA_URL=https://raw.githubusercontent.com/TaskarCenterAtUW/asr-imagery-list/refs/heads/main/schema/schema.json
WS_IMAGERY_EXAMPLE_URL=https://raw.githubusercontent.com/TaskarCenterAtUW/asr-imagery-list/refs/heads/main/examples/example.json
WS_LONG_FORM_QUEST_SCHEMA_URL=https://raw.githubusercontent.com/TaskarCenterAtUW/asr-quests/refs/heads/main/schema/schema.json
WS_LONG_FORM_QUEST_EXAMPLE_URL=https://raw.githubusercontent.com/TaskarCenterAtUW/asr-quests/refs/heads/main/examples/example.json
###############################################################################
# Databases
###############################################################################
WS_API_DB_HOST=localhost
WS_API_DB_PORT=5432
WS_API_DB_USER=workspaces
WS_API_DB_PASS=${WS_API_DB_PASS}
WS_API_DB_NAME=workspaces
WS_API_DB_URI=postgresql+asyncpg://${WS_API_DB_USER}:${WS_API_DB_PASS}@${WS_API_DB_HOST}:${WS_API_DB_PORT}/${WS_API_DB_NAME}
WS_OSM_DB_HOST=${WS_POSM_DB_HOST}
WS_OSM_DB_PORT=5432
WS_OSM_DB_USER=workspaces-osm${ENV_NAME_PARAM}
WS_OSM_DB_PASS=${WS_OSM_DB_PASS}
WS_OSM_DB_NAME=workspaces-osm${ENV_NAME_PARAM}
WS_OSM_DB_URI=postgresql+asyncpg://${WS_OSM_DB_USER}:${WS_OSM_DB_PASS}@${WS_OSM_DB_HOST}:${WS_OSM_DB_PORT}/${WS_OSM_DB_NAME}
WS_TASKS_DB_HOST=${WS_POSM_DB_HOST}
WS_TASKS_DB_PORT=5432
WS_TASKS_DB_USER=workspaces-tasks${ENV_NAME_PARAM}
WS_TASKS_DB_PASS=${WS_TASKS_DB_PASS}
WS_TASKS_DB_NAME=workspaces-tasks${ENV_NAME_PARAM}
WS_TASKS_DB_URI=postgresql+asyncpg://${WS_TASKS_DB_USER}:${WS_TASKS_DB_PASS}@${WS_TASKS_DB_HOST}:${WS_TASKS_DB_PORT}/${WS_TASKS_DB_NAME}
###############################################################################
# Mail
###############################################################################
WS_MAIL_ACME=cyro@uw.edu
WS_MAIL_NAME=${WS_PLATFORM_NAME}
WS_MAIL_FROM=opensidewalkstasking@gmail.com
WS_MAIL_CONTACT=transitdataequity@gmail.com
WS_MAIL_RETURN_PATH=opensidewalkstasking@gmail.com
WS_SMTP_DOMAIN=gmail.com
WS_SMTP_HOST=smtp.gmail.com
WS_SMTP_PORT=587
WS_SMTP_USER=opensidewalkstasking@gmail.com
WS_SMTP_PASS=${WS_SMTP_PASS}
###############################################################################
# Scaling
###############################################################################
WS_CGIMAP_INSTANCES=30
###############################################################################
# Limits
###############################################################################
WS_OSM_MAX_CHANGESET_ELEMENTS=100000000 # max features per import or save
WS_OSM_MAX_UPLOAD_BYTES=1000000000 # max size of dataset uploads
WS_OSM_MAX_EXPORT_NODES=100000000 # max number of nodes per requeset
WS_OSM_MAX_EXPORT_AREA=64800 # max area per request in square degrees