JonnyTran commited on
Commit
ae97fae
·
verified ·
1 Parent(s): 9fd42a7

updates to argilla v2

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -31
Dockerfile CHANGED
@@ -1,38 +1,14 @@
1
- FROM extralit/argilla-quickstart:develop
2
 
3
  # Copy the auth config section
4
  COPY .oauth.yaml /home/argilla/
5
 
6
- ENV OAUTH_ID=""
7
-
8
- ## Following variables are used for backward compatibility with the previous security setup for the quickstart image
9
- ENV OWNER_USERNAME=""
10
- ENV OWNER_PASSWORD=""
11
- ENV OWNER_API_KEY=""
12
-
13
- ENV ADMIN_USERNAME=""
14
- ENV ADMIN_PASSWORD=""
15
- ENV ADMIN_API_KEY=""
16
-
17
- ENV ANNOTATOR_USERNAME=""
18
- ENV ANNOTATOR_PASSWORD=""
19
-
20
- ENV ARGILLA_WORKSPACE="public"
21
-
22
  # Set the following variables as Secrets in your HuggingFace Space settings
23
- # When connecting to postgres, the ARGILLA_DATABASE_URL must have the prefix "postgresql+asyncpg://"
24
  ENV ARGILLA_DATABASE_URL=""
25
- ENV S3_ENDPOINT=""
26
- ENV S3_ACCESS_KEY=""
27
- ENV S3_SECRET_KEY=""
28
- ENV EXTRALIT_URL=""
29
-
30
- # Uncomment the next line if a new version of Argilla requires a dataset search reindex.
31
- ENV REINDEX_DATASETS=true
32
- ENV ARGILLA_ENABLE_TELEMETRY=0
33
-
34
- # (since: v1.28.0) Uncomment the next line to force not showing warning message about Hugging Face Space persistent storage not enabled.
35
- ENV ARGILLA_SHOW_HUGGINGFACE_SPACE_PERSISTENT_STORAGE_WARNING=false
36
-
37
- CMD ["/bin/bash", "start_quickstart_argilla.sh"]
38
 
 
 
 
1
+ FROM extralitdev/argilla-hf-spaces:latest
2
 
3
  # Copy the auth config section
4
  COPY .oauth.yaml /home/argilla/
5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  # Set the following variables as Secrets in your HuggingFace Space settings
 
7
  ENV ARGILLA_DATABASE_URL=""
8
+ ENV ARGILLA_S3_ENDPOINT=""
9
+ ENV ARGILLA_S3_ACCESS_KEY=""
10
+ ENV ARGILLA_S3_SECRET_KEY=""
11
+ ENV ARGILLA_EXTRALIT_URL=""
 
 
 
 
 
 
 
 
 
12
 
13
+ # Uncoment this line to remove the persistence storage warning
14
+ #ENV ARGILLA_SHOW_HUGGINGFACE_SPACE_PERSISTENT_STORAGE_WARNING=false