File size: 1,111 Bytes
36b91a5
ca73992
 
 
 
cde556c
58c1266
ca73992
 
 
 
9e6ebb4
 
ca73992
9e6ebb4
c77d027
ca73992
cde556c
c77d027
a959bc1
 
 
 
 
66dcb92
3d538dd
a959bc1
 
ca73992
 
41e228f
2e517a2
a959bc1
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
FROM extralit/extralit-quickstart:main

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

ENV OAUTH_ID=""

## 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"
ENV ADMIN_PASSWORD=12345678

ENV ANNOTATOR_USERNAME="argilla"
ENV ANNOTATOR_PASSWORD=12345678

ENV ARGILLA_WORKSPACE="public"

# Set the following variables as Secrets in your HuggingFace Space settings
# When connecting to postgres, the ARGILLA_DATABASE_URL must have the prefix "postgresql+asyncpg://"
ENV ARGILLA_DATABASE_URL=""
ENV S3_ENDPOINT=""
ENV S3_ACCESS_KEY=""
ENV S3_SECRET_KEY=""
ENV EXTRALIT_URL=""

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

# (since: v1.28.0) Uncomment the next line to force not showing warning message about Hugging Face Space persistent storage not enabled.
ENV ARGILLA_SHOW_HUGGINGFACE_SPACE_PERSISTENT_STORAGE_WARNING=true

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