File size: 1,099 Bytes
df0d2a0
ab9e437
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9a4b75a
 
4706ab0
9a4b75a
ab9e437
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
FROM argilladev/argilla-hf-spaces:develop

# Copy the auth config section
COPY .oauth.yaml /home/argilla/

# Define datasets to preload: full=all datasets, single=one dataset, and none=no datasets.
ENV LOAD_DATASETS=none
ENV OAUTH_ID=""

# Uncomment the next section to keep backward compatibility with previous versions
## Following variables are used for backward compatibility with the previous security setup for the quickstart image
#ENV ADMIN_USERNAME="team"
#ENV ADMIN_API_KEY="team.apikey"
## The password has a minimum length of 8. Passwords with lower lengths will fail.
#ENV ADMIN_PASSWORD=12345678
#
#ENV ANNOTATOR_USERNAME="argilla"
## The password has a minimum length of 8. Passwords with lower lengths will fail.
#ENV ANNOTATOR_PASSWORD=12345678
#
#ENV ARGILLA_WORKSPACE="team"
#

# Uncomment the next line if a new version of Argilla requires a dataset search reindex.
# ENV REINDEX_DATASETS=true

# Disable telemetry for this space
ENV ARGILLA_ENABLE_TELEMETRY=0
ENV ARGILLA_SHOW_HUGGINGFACE_SPACE_PERSISTENT_STORAGE_WARNING=False

CMD ["/bin/bash", "start_quickstart_argilla.sh"]