Docker image for Anki Sync Server.
Caution
This image is not official. Use at your own risk.
This image is available for following architectures:
- linux/amd64
- linux/386
- linux/arm64
- linux/arm/v7
The container and the actions are auto-updated whenever a new version of anki is released. This is done by a GitHub Action and I can forget this project exists :).
You can find this image on GHCR and for legacy support on Docker Hub and my old GHCR (may change anytime).
Available tags:
latest: Latest version of anki.<anki version>: Specified version of anki.sha-<git commit hash>: Git commit hash.
This is a basic docker-compose.yml to setup anki.
services:
# https://github.com/f7zorn/anki-sync-server-docker
anki-sync-server:
image: ghcr.io/f7zorn/anki-sync-server:25.02
# These are sample passwords, please change them
environment:
- SYNC_USER1=panda:rsfPz4NXELBxmJ
- SYNC_USER2=penguin:2Qtf5nnsDpsQ3b
volumes:
- anki-sync-server:/config
ports:
- 27701:27701
volumes:
anki-sync-server:Set SYNC_USERX (more users are possible) to your desired username and password and open port 27701 in your reverse proxy or firewall.
For more configuration options see https://docs.ankiweb.net/sync-server.html
Contributions are welcome. All files are licensed under Apache-2.0.