Spaces:
Running
Running
| 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"] | |