Skip to content

Commit 9c00b38

Browse files
Improved env.example files on enterprise and engine
1 parent 5b7dacd commit 9c00b38

File tree

2 files changed

+26
-17
lines changed

2 files changed

+26
-17
lines changed

services/engine/.env.example

+1-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ MONGODB_DB_NAME = 'dataherald'
3838
MONGODB_DB_USERNAME = 'admin'
3939
MONGODB_DB_PASSWORD = 'admin'
4040

41-
42-
# The enncryption key is used to encrypt database connection info before storing in Mongo. Please refer to the README on how to set it.
41+
# Used to store credential files for database connections
4342
S3_AWS_ACCESS_KEY_ID=
4443
S3_AWS_SECRET_ACCESS_KEY=
4544
ONLY_STORE_CSV_FILES_LOCALLY = False # Set to True if only want to save generated CSV files locally instead of S3. Note that if stored locally they should be treated as ephemeral, i.e., they will disappear when the engine is restarted.

services/enterprise/.env.example

+25-15
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,47 @@
11
ENGINE_URL=http://{DOCKER_CONTAINER_NAME:PORT}/api/v1 # example: http://engine/api/v1 (port 80 by default)
2-
MONGODB_DB_NAME=
3-
MONGODB_URI=
2+
MONGODB_DB_NAME=dataherald
3+
MONGODB_URI=mongodb://admin:admin@mongodb:27017
4+
5+
#The encryption key should be the same as the one used in engine
6+
ENCRYPT_KEY=
47

58
AUTH0_DOMAIN='{yourDomain}'
6-
AUTH0_ISSUER='{yourIssuer}'
9+
AUTH0_ISSUER='https://{yourDomain}/'
710
AUTH0_API_AUDIENCE='{yourAudience}'
11+
# AUTH0_DISABLED creates a mock authentication token type for testing purposes
12+
# you can provide an email as the bearer token, note that the admin console will not be able to authenticate
813
AUTH0_DISABED=False
914

15+
# The salt is used to hash the API key, use the string from ENCRYPT_KEY or create a different one
1016
API_KEY_SALT=
1117

1218
DEFAULT_ENGINE_TIMEOUT=120
1319

20+
# Used to store credential files for database connections
21+
# should be the same as the ones in engine
1422
S3_AWS_ACCESS_KEY_ID=
1523
S3_AWS_SECRET_ACCESS_KEY=
1624

17-
#The encryption key should be the same as the one used in engine
18-
ENCRYPT_KEY =
1925

26+
# Optional posthog analytics if disabled
27+
POSTHOG_DISABLED=True
2028
POSTHOG_API_KEY=
2129
POSTHOG_HOST=
22-
POSTHOG_DISABLED=True
2330

24-
# To set the SSH key file
31+
32+
33+
# Optional ssh credentials if connecting to a remote database using ssh tunnel
2534
SSH_PRIVATE_KEY_PASSWORD=
2635
SSH_PATH_TO_CREDENTIAL_FILE=
2736

37+
# Optional stripe env vars if organizations are not on ENTERPRISE plan
2838
STRIPE_API_KEY=
2939
STRIPE_WEBHOOK_SECRET=
30-
SQL_GENERATION_PRICE_ID=#optional
31-
FINETUNING_GPT_35_PRICE_ID=#optional
32-
FINETUNING_GPT_4_PRICE_ID=#optional
33-
DEFAULT_SPENDING_LIMIT=#optional
34-
SINGUP_CREDITS=#optional
35-
SQL_GENERATION_COST=#optional
36-
FINETUNING_GPT_35_COST=#optional
37-
FINETUNING_GPT_4_COST=#optional
40+
SQL_GENERATION_PRICE_ID=
41+
FINETUNING_GPT_35_PRICE_ID=
42+
FINETUNING_GPT_4_PRICE_ID=
43+
DEFAULT_SPENDING_LIMIT=
44+
SINGUP_CREDITS=
45+
SQL_GENERATION_COST=
46+
FINETUNING_GPT_35_COST=
47+
FINETUNING_GPT_4_COST=

0 commit comments

Comments
 (0)