-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
56 lines (51 loc) · 2.15 KB
/
Copy path.env.example
File metadata and controls
56 lines (51 loc) · 2.15 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
# Default environment variables for Vite-based tooling.
#
# Vite file priority (highest to lowest):
# 1) Existing process env
# 2) .env.[mode].local
# 3) .env.[mode]
# 4) .env.local
# 5) .env
#
# In this project:
# - pnpm dev uses mode "development"
# - pnpm build uses mode "production"
# - pnpm test:coverage loads .env and .env.test in src/test/vitest-setup.ts
VITE_APP_ORIGIN=http://localhost:3000
# Staging CMS URI:
VITE_APP_CMS_URI=https://kultus.app-staging.hkih.hion.dev/graphql
# Production CMS URI:
# VITE_APP_CMS_URI=https://kultus.content.api.hel.fi/graphql
# Sentry
VITE_APP_SENTRY_ENVIRONMENT=local
VITE_APP_SENTRY_DSN=
VITE_APP_SENTRY_TRACES_SAMPLE_RATE=1.0
VITE_APP_SENTRY_TRACE_PROPAGATION_TARGETS=http://localhost:8081/graphql
VITE_APP_SENTRY_REPLAYS_SESSION_SAMPLE_RATE=0
VITE_APP_SENTRY_REPLAYS_ON_ERROR_SAMPLE_RATE=0
VITE_APP_CSP_REPORT_URI=
# Environment variables for the development environment:
#
# Docker compose build args doesn't support
# any other files except .env, env_file setting affects environment variables in docker
# compose but it does not affect build args.
#
# So in order to support docker compose build args and environment variables being the
# same they have to either be put them into .env (no other file will suffice, only .env)
# or e.g. set them using a script to the environment before running docker compose.
VITE_APP_API_URI=https://kultus.api.test.hel.ninja/graphql
VITE_APP_API_REPORT_URI=https://kultus.api.test.hel.ninja/reports
VITE_APP_LINKEDEVENTS_API_URI=https://linkedevents.api.test.hel.ninja/v1
# OIDC client configuration
VITE_APP_OIDC_AUDIENCES="kultus-api-test,profile-api-test"
VITE_APP_OIDC_RETURN_TYPE=code
VITE_APP_OIDC_SERVER_TYPE=KEYCLOAK
VITE_APP_OIDC_API_CLIENT_ID=kultus-api-test
VITE_APP_OIDC_AUTHORITY=https://tunnistus.test.hel.ninja/auth/realms/helsinki-tunnistus
VITE_APP_OIDC_CLIENT_ID=kultus-admin-ui-test
VITE_APP_OIDC_SCOPE="openid profile email"
VITE_APP_OIDC_AUTOMATIC_SILENT_RENEW_ENABLED=1
# Helsinki profile UI URI (for link)
VITE_APP_HELSINKI_PROFILE_URL=https://profiili.test.hel.ninja/loginsso
# Client session timeout. IT should be less than the server session timeout
VITE_APP_IDLE_TIMEOUT_IN_MS=3600000