-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.dist
136 lines (105 loc) · 3.6 KB
/
.env.dist
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# General
###################
# Django debugging settings
DEBUG_LOGGING=false
DEBUG_TOOLBAR=false
# Encryption settings
SECRET_KEY='${SECRET_KEY}'
ENCRYPTION_KEY='${ENCRYPTION_KEY}'
# Email settings
EMAIL_HOST=
EMAIL_PORT=
EMAIL_HOST_USER=
EMAIL_USE_TLS=
EMAIL_HOST_PASSWORD=
# Database settings for Django
DATABASE_PORT=$DB_PORT
DATABASE_NAME=hexa-app
DATABASE_USER=hexa-app
DATABASE_PASSWORD=hexa-app
# Networking
############
# To enable TLS/SSL directly on the app
# TLS="false"
# The hostname on which the services are published / bound
BASE_HOSTNAME=localhost
# The port number to access the backend
BASE_PORT=8000
# URL to use for the communication between pipelines, workers & the backend's API
# If not set, it falls back to BASE_HOSTNAME:BASE_PORT
INTERNAL_BASE_URL=http://app:8000
# NextJS Frontend
# If not set, it falls back to either PROXY_HOSTNAME_AND_PORT or
# BASE_HOSTNAME:FRONTEND_PORT
# NEW_FRONTEND_DOMAIN=http://localhost:3000
# Jupyter Hub
# If not set, it falls back to either PROXY_HOSTNAME_AND_PORT or
# BASE_HOSTNAME:JUPYTERHUB_PORT
# NOTEBOOKS_URL=http://localhost:8001
# The port number to access the frontend
FRONTEND_PORT=3000
# The port number to access the Jupyter hub
JUPYTERHUB_PORT=8001
# if it's behind a reverse proxy
# PROXY_HOSTNAME_AND_PORT=example.com
# If TLS/SSL is set up on a reverse proxy routing to the app
# TRUST_FORWARDED_PROTO="false"
# MixPanel
##########
# mixpanel analytics
MIXPANEL_TOKEN=
# Pipelines
############
# Change this to the image of the workspace you want to use by default
DEFAULT_WORKSPACE_IMAGE=blsq/openhexa-base-environment:latest
# We support two spawner: docker and kubernetes. When deployed on a single
# machine, docker is the right spawner. In that case, do not change without
# good reasons.
PIPELINE_SCHEDULER_SPAWNER=docker
# Kubernetes resources settings (used only in kubernetes spawner mode)
# PIPELINE_DEFAULT_CONTAINER_CPU_LIMIT=2
# PIPELINE_DEFAULT_CONTAINER_MEMORY_LIMIT=4G
# PIPELINE_DEFAULT_CONTAINER_CPU_REQUEST=0.05
# PIPELINE_DEFAULT_CONTAINER_MEMORY_REQUEST=100M
# Notebooks
############
# The image to run the notebook containers
JUPYTER_IMAGE=blsq/openhexa-base-environment
# Encryption settings
JUPYTERHUB_CRYPT_KEY=${JUPYTERHUB_CRYPT_KEY}
# Authentication settings
HUB_API_TOKEN=${HUB_API_TOKEN}
# Database settings for Jupyter Hub
JUPYTERHUB_DATABASE_NAME=hexa-hub
JUPYTERHUB_DATABASE_USER=hexa-hub
JUPYTERHUB_DATABASE_PASSWORD=hexa-hub
# Workspaces
#############
# Workspaces' DB settings
WORKSPACES_DATABASE_PORT=$DB_PORT
WORKSPACES_DATABASE_ROLE=hexa-app
WORKSPACES_DATABASE_DEFAULT_DB=hexa-app
WORKSPACES_DATABASE_PASSWORD=hexa-app
WORKSPACE_BUCKET_PREFIX=hexa-test-
# Workspace storage options
# --------------------------
# Local FS: Define the root location where the workspaces files will be stored
# Absolute path to the directory where the workspaces data will be stored
WORKSPACE_STORAGE_LOCATION=$WORKSPACE_STORAGE_LOCATION
## GCP: Mandatory to run with GCS
WORKSPACE_STORAGE_BACKEND_GCS_SERVICE_ACCOUNT_KEY=
# # openssl rand -hex 16
# WORKSPACE_STORAGE_ENGINE_AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
# # openssl rand -base64 42
# WORKSPACE_STORAGE_ENGINE_AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
## AWS: To run it in AWS mode or in LocalHosting mode set the variable to s3
WORKSPACE_STORAGE_BACKEND_AWS_ENDPOINT_URL=
WORKSPACE_STORAGE_BACKEND_AWS_PUBLIC_ENDPOINT_URL=
WORKSPACE_STORAGE_BACKEND_AWS_SECRET_ACCESS_KEY=
WORKSPACE_STORAGE_BACKEND_AWS_ACCESS_KEY_ID=
WORKSPACE_STORAGE_BACKEND_AWS_BUCKET_REGION=
WORKSPACE_BUCKET_REGION=
# Datasets
###########
# Bucket to store datasets for all workspaces
WORKSPACE_DATASETS_BUCKET=hexa-datasets