rahul5035 commited on
Commit
c3f859b
1 Parent(s): c15e7aa

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -58
Dockerfile CHANGED
@@ -4,62 +4,5 @@ ENV ZENML_ANALYTICS_OPT_IN=true
4
  ENV ZENML_SERVER_DEPLOYMENT_TYPE="hf_spaces"
5
  ENV ZENML_LOGGING_VERBOSITY=DEBUG
6
 
7
- ################################################################################
8
- #
9
- # CONFIGURING YOUR ZENML HF SPACES SERVER
10
- # ---------------------------------------
11
- # By default this space is not persistent. All ZenML metadata is stored in
12
- # localstorage in a SQLite database. If you would like to make your storage
13
- # persistent, use the appropriate environment variables below to configure the
14
- # image to use a MySQL-compatible database service that is reachable from the
15
- # container. See https://docs.zenml.io/getting-started/deploying-zenml/docker
16
- # for more information on how to configure these environment variables.
17
-
18
- # You can also configure the secrets store to use for your ZenML server. Be
19
- # sure to use Huggingface Spaces' 'Repository Secrets' feature to store any
20
- # secrets referenced here. See
21
- # https://huggingface.co/docs/hub/spaces-overview#managing-secrets for more
22
- # information on how to configure these environment variables.
23
-
24
- # ENV ZENML_DEFAULT_PROJECT_NAME=""
25
- # ENV ZENML_DEFAULT_USER_NAME=""
26
- # ENV ZENML_DEFAULT_USER_PASSWORD=""
27
- # ENV ZENML_STORE_URL=""
28
- # ENV ZENML_STORE_SSL_CA=""
29
- # ENV ZENML_STORE_SSL_CERT=""
30
- # ENV ZENML_STORE_SSL_KEY=""
31
- # ENV ZENML_STORE_SSL_VERIFY_SERVER_CERT=""
32
-
33
- # ENV ZENML_LOGGING_VERBOSITY=""
34
-
35
- # # SECRETS STORE CONFIGURATION
36
- # ENV ZENML_SECRETS_STORE_TYPE=""
37
- # ENV ZENML_SECRETS_STORE_ENCRYPTION_KEY=""
38
- # ENV ZENML_SECRETS_STORE_CLASS_PATH=""
39
- # ENV ZENML_JWT_SECRET_KEY=""
40
-
41
- # # AWS Secrets Store Configuration
42
- # ENV ZENML_SECRETS_STORE_REGION_NAME=""
43
- # ENV ZENML_SECRETS_STORE_AWS_ACCESS_KEY_ID=""
44
- # ENV ZENML_SECRETS_STORE_AWS_SECRET_ACCESS_KEY=""
45
- # ENV ZENML_SECRETS_STORE_AWS_SESSION_TOKEN=""
46
- # ENV ZENML_SECRETS_STORE_SECRET_LIST_REFRESH_TIMEOUT=""
47
-
48
- # # GCP Secrets Store Configuration
49
- # ENV ZENML_SECRETS_STORE_PROJECT_ID=""
50
- # ENV GOOGLE_APPLICATION_CREDENTIALS=""
51
-
52
- # # Azure Secrets Store Configuration
53
- # ENV ZENML_SECRETS_STORE_KEY_VAULT_NAME=""
54
- # ENV ZENML_SECRETS_STORE_AZURE_CLIENT_ID=""
55
- # ENV ZENML_SECRETS_STORE_AZURE_CLIENT_SECRET=""
56
- # ENV ZENML_SECRETS_STORE_AZURE_TENANT_ID=""
57
-
58
- # # Hashicorp Secrets Store Configuration
59
- # ENV ZENML_SECRETS_STORE_VAULT_ADDR=""
60
- # ENV ZENML_SECRETS_STORE_VAULT_TOKEN=""
61
- # ENV ZENML_SECRETS_STORE_VAULT_NAMESPACE=""
62
- # ENV ZENML_SECRETS_STORE_MAX_VERSIONS=""
63
-
64
  ENTRYPOINT ["uvicorn", "zenml.zen_server.zen_server_api:app", "--log-level", "debug"]
65
- CMD ["--proxy-headers", "--port", "8080", "--host", "0.0.0.0"]
 
4
  ENV ZENML_SERVER_DEPLOYMENT_TYPE="hf_spaces"
5
  ENV ZENML_LOGGING_VERBOSITY=DEBUG
6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  ENTRYPOINT ["uvicorn", "zenml.zen_server.zen_server_api:app", "--log-level", "debug"]
8
+ CMD ["--proxy-headers", "--port", "7860", "--host", "0.0.0.0"]