-
Notifications
You must be signed in to change notification settings - Fork 6
/
.env.example
80 lines (69 loc) · 2.62 KB
/
.env.example
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
# Environment variables (dev only)
# ----------------------------
# # For API, also check env.ts for non-confidential environment variables. Having some variables there avoids adding variables in Google Cloud (easy to forget).
# # To complete - API
# ## Fill with values here: https://docs.google.com/document/d/1a21chBYSPKCQzYsQscQmhrtcaGSN0HSoTbiLkVKuGP8/edit?usp=sharing
AUTH0_BACKEND_CLIENT_SECRET=XXX
PIPEDRIVE_API_KEY=XXX
# ## Stripe variables
STRIPE_SECRET_KEY=XXX
STRIPE_PRICE_ID=XXX
STRIPE_WEBHOOK_SECRET=XXX
# # Optional variables, for scripts and dev experiences
# AUTH0_MGMT_TOKEN=XXX
# AUTH0_TEST_EMAIL=XXX
# AUTH0_TEST_PASSWORD=XXX
# HASURA_STAGING_ADMIN_SECRET=XXX
# GITHUB_ACCESS_TOKEN=XXX
# # Other non-confidential environment variables
###########
# Developer opt-in features
#
### Disable sending the code to CodeSandbox, and instead, rely on the local preview project. It will also change the project template to "vite" (React) or "zip" (Angular) instead of "cra" / "csb".
### When changing, don't forget to restart the webservice to reload the environment variables.
# LOCAL_PREVIEW_INSTEAD_OF_CSB=true
#
###########
# # Common
APP_ENV=dev
# # Postgres
# Credentials must differ from the main database in order to avoid Programming by Coincidence
# https://pragprog.com/the-pragmatic-programmer/extracts/coincidence
POSTGRES_HOST=localhost
POSTGRES_PORT_CONTAINER=5432
POSTGRES_PORT_CONSUMER=5439
POSTGRES_DB=clapy
POSTGRES_USER=user
POSTGRES_PASSWORD=user
# # pgadmin
PGADMIN_DEFAULT_PASSWORD=postgres
HASURA_GRAPHQL_ADMIN_SECRET=secret
# Port inside docker container
HASURA_DOCKER_PORT=8080
# HASURA_API_SCHEMA=http://host.docker.internal:4141/graphql
# # API
# SECRET_KEY=!******NotSoSecretChangeMe******!
# ALLOWED_HOST=http://localhost:3000,http://localhost:5000
# If you use TypeORM - ideally, TYPEORM_URL and TYPEORM_TEST_URL should be set in the code using
# above variables
# TYPEORM_URL=postgres://user:user@localhost:5432/seed
# TYPEORM_TEST_URL=postgres://user:user@localhost:5432/tests
# TYPEORM_ENTITIES=src/**/*.entity.ts
# TYPEORM_MIGRATIONS=migration/*.ts
# TYPEORM_MIGRATIONS_DIR=migration
# TYPEORM_SYNCHRONIZE=false
# # Front (and hasura for some)
VITE_AUTH0_DOMAIN=clapy-dev.eu.auth0.com
VITE_AUTH0_CLIENT_ID=BxwH4Y8N4xsrJp55lm4UTWblnHVDRDz9
VITE_AUTH0_AUDIENCE=clapy
VITE_HASURA_SSL=false
VITE_HASURA_HOSTNAME=localhost
# Port on host machine
VITE_HASURA_PORT=8089
# VITE_ENV=dev
# #VITE_API_PATH=http://localhost:3009/api # With proxy
# VITE_API_PATH=http://localhost:4141
# VITE_HASURA_PATH=http://localhost:8089/v1
# VITE_HASURA_WS=ws://localhost:8089/v1
# VITE_USE_SERVICE_WORKER=false