Skip to content

Commit

Permalink
fix(quickstart): change default api key for the argilla quickstart im…
Browse files Browse the repository at this point in the history
…age (#2357)

# Description

Updating the default API-key for `argilla` user in the quickstart docker
image.

**Type of change**

(Please delete options that are not relevant. Remember to title the PR
according to the type of change)

- [x] Bug fix (non-breaking change which fixes an issue)


**Checklist**

- [x] I have merged the original branch into my forked branch
- [ ] I added relevant documentation
- [x] follows the style guidelines of this project
- [x] I did a self-review of my code
- [ ] I added comments to my code
- [x] I made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
  • Loading branch information
frascuchon authored Feb 17, 2023
1 parent 4c891b7 commit bb14f3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion quickstart.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV ARGILLA_LOCAL_AUTH_USERS_DB_FILE=/usr/share/elasticsearch/users.yml
ENV TEAM_PASSWORD=1234
ENV ARGILLA_PASSWORD=1234
ENV TEAM_API_KEY=team.apikey
ENV ARGILLA_API_KEY=rubrix.apikey
ENV ARGILLA_API_KEY=argilla.apikey
ENV LOAD_DATASETS=full
ENV UVICORN_PORT=6900
ENV xpack.security.enabled=false
Expand Down
2 changes: 1 addition & 1 deletion quickstart.README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ This will run the latest quickstart docker image with 2 users `argilla` and `tea

- `ARGILLA_API_KEY`: Argilla provides a Python library to interact with the app (read, write, and update data, log model
predictions, etc.). If you don't set this variable, the library and your app will use the default API key
i.e. `rubrix.apikey`. If you want to secure your app for reading and writing data, we recommend you to set up this
i.e. `argilla.apikey`. If you want to secure your app for reading and writing data, we recommend you to set up this
variable. The API key you choose can be any string of your choice and you can check an online generator if you like.
- `ARGILLA_PASSWORD`: This sets a custom password for login into the app with the `argilla` username. The default
password is `1234`. By setting up a custom password you can use your own password to login into the app.
Expand Down

0 comments on commit bb14f3c

Please sign in to comment.