Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 24 additions & 14 deletions tdei_uw.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
#
# 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
###############################################################################
Expand All @@ -18,18 +28,18 @@ WS_PLATFORM_PRIVACY_POLICY=https://sidewalks.washington.edu/privacy
# Web
###############################################################################

WS_TDEI_FRONTEND_URL=https://portal-${ENV}.tdei.us/
WS_TDEI_BACKEND_URL=https://portal-api-${ENV}.tdei.us/api/v1/
WS_TDEI_API_URL=https://api-${ENV}.tdei.us/api/v1/
WS_TDEI_OIDC_URL=https://account-{$ENV}.tdei.us/
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

WS_FRONTEND_HOST=workspaces-${ENV}.sidewalks.washington.edu
WS_API_HOST=api.workspaces-${ENV}.sidewalks.washington.edu
WS_RAPID_HOST=rapid.workspaces-${ENV}.sidewalks.washington.edu
WS_PATHWAYS_EDITOR_HOST=pathways.workspaces-${ENV}.sidewalks.washington.edu
WS_OSM_HOST=osm.workspaces-${ENV}.sidewalks.washington.edu
WS_TASKS_HOST=tasks.workspaces-${ENV}.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_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_DEV_PORT=3000

Expand All @@ -56,15 +66,15 @@ WS_API_DB_NAME=workspaces

WS_OSM_DB_HOST=${WS_POSM_DB_HOST}
WS_OSM_DB_PORT=5432
WS_OSM_DB_USER=workspaces-osm-${ENV}
WS_OSM_DB_USER=workspaces-osm${ENV_NAME_PARAM}
WS_OSM_DB_PASS=${WS_OSM_DB_PASS}
WS_OSM_DB_NAME=workspaces-osm-${ENV}
WS_OSM_DB_NAME=workspaces-osm${ENV_NAME_PARAM}

WS_TASKS_DB_HOST=${WS_POSM_DB_HOST}
WS_TASKS_DB_PORT=5432
WS_TASKS_DB_USER=workspaces-tasks-${ENV}
WS_TASKS_DB_USER=workspaces-tasks${ENV_NAME_PARAM}
WS_TASKS_DB_PASS=${WS_TASKS_DB_PASS}
WS_TASKS_DB_NAME=workspaces-tasks-${ENV}
WS_TASKS_DB_NAME=workspaces-tasks${ENV_NAME_PARAM}

###############################################################################
# Mail
Expand Down