feat: updated frontend docker containers to allow for runtime environment variable definitions

This commit is contained in:
Andrew Bastin
2023-07-14 16:43:38 +05:30
parent 6454d83486
commit 1b1a09c675
24 changed files with 466 additions and 70 deletions

View File

@@ -47,15 +47,15 @@ RATE_LIMIT_MAX=100 # Max requests per IP
# Base URLs
VITE_BASE_URL=http://localhost:3000
VITE_SHORTCODE_BASE_URL=http://localhost:3000
VITE_ADMIN_URL=http://localhost:3100
APP_BASE_URL=http://localhost:3000
APP_SHORTCODE_BASE_URL=http://localhost:3000
APP_ADMIN_URL=http://localhost:3100
# Backend URLs
VITE_BACKEND_GQL_URL=http://localhost:3170/graphql
VITE_BACKEND_WS_URL=ws://localhost:3170/graphql
VITE_BACKEND_API_URL=http://localhost:3170/v1
APP_BACKEND_GQL_URL=http://localhost:3170/graphql
APP_BACKEND_WS_URL=ws://localhost:3170/graphql
APP_BACKEND_API_URL=http://localhost:3170/v1
# Terms Of Service And Privacy Policy Links (Optional)
VITE_APP_TOS_LINK=https://docs.hoppscotch.io/support/terms
VITE_APP_PRIVACY_POLICY_LINK=https://docs.hoppscotch.io/support/privacy
APP_APP_TOS_LINK=https://docs.hoppscotch.io/support/terms
APP_APP_PRIVACY_POLICY_LINK=https://docs.hoppscotch.io/support/privacy