Compare commits
2 Commits
a13ceb3cb0
...
ed0a951aed
Author | SHA1 | Date | |
---|---|---|---|
ed0a951aed | |||
5bb964ca00 |
11
README.md
11
README.md
|
@ -63,13 +63,12 @@ Here are some key environment variables:
|
|||
- `ANKI_PORT`: Port on which the Anki server should run.
|
||||
- `ANKI_VOLUME_PATH`: Local path for the volume storage.
|
||||
|
||||
## Usage
|
||||
### Username and Password Configuration
|
||||
|
||||
You can interact with the Anki sync server using the provided `ankictl.sh` script:
|
||||
|
||||
```bash
|
||||
./ankictl.sh [options]
|
||||
```
|
||||
1. Inside the `.env` file, locate the `SYNC_USERS` variable.
|
||||
2. Enter the desired usernames and passwords in the format: `username:password`.
|
||||
- For multiple users, separate them with a comma: `user1:pass1,user2:pass2`.
|
||||
3. Save the changes and restart the Anki sync service.
|
||||
|
||||
## Maintenance
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo docker-compose exec anki-sync-server ./ankisyncctl.py ${1} ${2} ${3} ${4}
|
|
@ -1 +1,3 @@
|
|||
.env
|
||||
ANKI_PORT=27701
|
||||
ANKI_VOLUME_PATH=/var/lib/anki/data
|
||||
SYNC_USERS=user1:pass,user2:pass,user3:pass
|
||||
|
|
Loading…
Reference in New Issue
Block a user