Commit 0c860ec
authored
[ENHANCEMENTE]
# Description
<!-- Please include a summary of the changes and the related issue.
Please also include relevant motivation and context. List any
dependencies that are required for this change. -->
This PR reviews and unifies the credentials setup for both docker
images. With changes on this PR, the following env variables are
available for both images:
- `USERNAME`: the owner username (Default: "")
- `PASSWORD`: the owner password (Default: "")
- `API_KEY`: the owner API KEY (Default: "")
- `REINDEX_DATASETS`: launch reindex datasets on server server startup
(Default=0)
TODO:
- [x] Add defaults in the
[`docker-compose.yaml`](https://github.com/argilla-io/argilla/pull/5315/files#diff-e7d583fa0f5bfdf69891c1714df0e8dd48be872d9c5efe1f3128b6d3d12f49a2)
file with the following values:
```yaml
USERNAME: argilla
PASSWORD: 12345678
API_KEY: argilla.apikey
```
-> Done
[here](1480e16)
- [x] Add description in [the server
configuration](https://github.com/argilla-io/argilla/pull/5291/files#diff-4b8728c9f3074b2a2209fb900e51dfd3a9ad058f221c8ae244567fd8786da27dR119)
-> Done
[here](https://github.com/argilla-io/argilla/pull/5291/files#diff-4b8728c9f3074b2a2209fb900e51dfd3a9ad058f221c8ae244567fd8786da27dR115)
**Type of change**
<!-- Please delete options that are not relevant. Remember to title the
PR according to the type of change -->
- Improvement (change adding some improvement to an existing
functionality)
**How Has This Been Tested**
<!-- Please add some reference about how your feature has been tested.
-->
**Checklist**
<!-- Please go over the list and make sure you've taken everything into
account -->
- I added relevant documentation
- I followed the style guidelines of this project
- I did a self-review of my code
- I made corresponding changes to the documentation
- I confirm My changes generate no new warnings
- I have added tests that prove my fix is effective or that my feature
works
- I have added relevant notes to the CHANGELOG.md file (See
https://keepachangelog.com/)argilla-server: unify credentials for both docker images (#5324)1 parent 1544864 commit 0c860ec
File tree
4 files changed
+24
-36
lines changed- argilla-server/docker
- argilla-hf-spaces
- scripts
- server
- scripts
4 files changed
+24
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | 54 | | |
| 55 | + | |
59 | 56 | | |
60 | 57 | | |
Lines changed: 0 additions & 25 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
10 | 25 | | |
11 | 26 | | |
12 | 27 | | |
| |||
0 commit comments