Compare commits

..

2 Commits

Author SHA1 Message Date
ed0a951aed removed the (now defunct) ankictl.sh 2023-09-10 09:00:13 +00:00
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_PORT`: Port on which the Anki server should run.
- `ANKI_VOLUME_PATH`: Local path for the volume storage. - `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: 1. Inside the `.env` file, locate the `SYNC_USERS` variable.
2. Enter the desired usernames and passwords in the format: `username:password`.
```bash - For multiple users, separate them with a comma: `user1:pass1,user2:pass2`.
./ankictl.sh [options] 3. Save the changes and restart the Anki sync service.
```
## Maintenance ## 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