Compare commits

...

2 Commits

Author SHA1 Message Date
B.J. Dweck ed0a951aed removed the (now defunct) ankictl.sh 2023-09-10 09:00:13 +00:00
B.J. Dweck 5bb964ca00 updated sample.env 2023-09-10 08:56:06 +00:00
3 changed files with 8 additions and 10 deletions

View File

@ -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

View File

@ -1,3 +0,0 @@
#!/bin/bash
sudo docker-compose exec anki-sync-server ./ankisyncctl.py ${1} ${2} ${3} ${4}

View File

@ -1 +1,3 @@
.env
ANKI_PORT=27701
ANKI_VOLUME_PATH=/var/lib/anki/data
SYNC_USERS=user1:pass,user2:pass,user3:pass