Spaces:
Running
Running
JonnyTran
commited on
Commit
•
ca73992
1
Parent(s):
c33c58b
first commit
Browse files- .oauth.yaml +9 -0
- Dockerfile +25 -0
.oauth.yaml
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Change to `true` to enable HF auth integration
|
2 |
+
enabled: false
|
3 |
+
|
4 |
+
providers:
|
5 |
+
- name: huggingface
|
6 |
+
|
7 |
+
# Allowed workspaces must exists
|
8 |
+
allowed_workspaces:
|
9 |
+
- name: admin
|
Dockerfile
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM argilla/argilla-quickstart:v1.29.0
|
2 |
+
|
3 |
+
# Copy the auth config section
|
4 |
+
COPY .oauth.yaml /home/argilla/
|
5 |
+
|
6 |
+
ENV OAUTH_ID=""
|
7 |
+
# Uncomment the next section to keep backward compatibility with previous versions
|
8 |
+
## Following variables are used for backward compatibility with the previous security setup for the quickstart image
|
9 |
+
ENV ADMIN_USERNAME="team"
|
10 |
+
ENV ADMIN_API_KEY="team.apikey"
|
11 |
+
## The password has a minimum length of 8. Passwords with lower lengths will fail.
|
12 |
+
ENV ADMIN_PASSWORD=12345678
|
13 |
+
#
|
14 |
+
#ENV ANNOTATOR_USERNAME="argilla"
|
15 |
+
## The password has a minimum length of 8. Passwords with lower lengths will fail.
|
16 |
+
ENV ANNOTATOR_PASSWORD=12345678
|
17 |
+
#
|
18 |
+
ENV ARGILLA_WORKSPACE="team"
|
19 |
+
#
|
20 |
+
|
21 |
+
# Uncomment the next line if a new version of Argilla requires a dataset search reindex.
|
22 |
+
ENV REINDEX_DATASETS=true
|
23 |
+
|
24 |
+
# (since: v1.28.0) Uncomment the next line to force not showing warning message about Hugging Face Space persistent storage not enabled.
|
25 |
+
ENV ARGILLA_SHOW_HUGGINGFACE_SPACE_PERSISTENT_STORAGE_WARNING=false
|