File tree Expand file tree Collapse file tree 2 files changed +14
-7
lines changed
Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ ENV SYNC_USER1="anki:ikna"
88ENV SYNC_BASE="/data"
99ENV SYNC_HOST="0.0.0.0"
1010ENV SYNC_PORT="8080"
11+ ENV PASSWORDS_HASHED=0
1112
1213VOLUME /data
1314
Original file line number Diff line number Diff line change @@ -25,13 +25,19 @@ are not lost and can still be downloaded.
2525
2626## Environment Variables
2727
28- | Variable | Default | Purpose |
29- | :----------:| :---------:| :------------------------:|
30- | SYNC_USER1 | anki: ikna | Default Anki account |
31- | SYNC_USERX | - | Additional Anki accounts |
32- | SYNC_BASE | /data | Data storage directory |
33- | SYNC_HOST | 0.0.0.0 | Host binding |
34- | SYNC_PORT | 8080 | Port binding |
28+ | Variable | Default | Purpose |
29+ | :----------------:| :---------:| :------------------------:|
30+ | SYNC_USER1 | anki: ikna | Default Anki account |
31+ | SYNC_USERX | - | Additional Anki accounts |
32+ | SYNC_BASE | /data | Data storage directory |
33+ | SYNC_HOST | 0.0.0.0 | Host binding |
34+ | SYNC_PORT | 8080 | Port binding |
35+ | PASSWORDS_HASHED | 0 | Enable hashed passwords |
36+
37+ There is also the possibility to pass hashed instead of plain text passwords. To do so, you have to
38+ set `` PASSWORDS_HASHED `` to `` 1 `` . Anki recommends a tool like
39+ [ this one] ( https://git.sr.ht/~laalsaas/pbkdf2-password-hash ) to generate pbkdf2 hashes but feel free
40+ to use whichever tool you like the most. Keep in mind that you have to use PHC string format.
3541
3642## Volumes
3743
You can’t perform that action at this time.
0 commit comments