# Anki Sync Server

Anki Sync Server is a self-hosted sync server for Anki flashcards, offering multi-user sync, automated backups, and monitoring. It is open source and self-hosted, installable on Proxmox and TrueNAS.

Canonical page: https://ourlocalhost.com/app/3749/anki-sync-server

## Description

Anki Sync Server is a self-hosted sync server for Anki flashcards, offering multi-user sync, automated backups, and monitoring. Built from the official Anki source, it ships as a production-ready Docker image with daily auto-updates and pre-built binaries for amd64, arm64, and arm/v7, making it a low-maintenance option for homelab users who want private sync.

## Platform availability

Available on 2 of 10 platforms: TrueNAS, Proxmox.

## Health score

56/100 (Fair), based on 4 of 5 factors.
- Maintained: 64 (last commit 133 days ago)
- Popular: 36 (60 GitHub stars)
- Easy to install: 35 (2 install platforms, install notes)
- Security check: 85 (no serious findings, CI)

## Links

- Proxmox: https://community-scripts.github.io/ProxmoxVE/scripts?id=anki-sync-server
- TrueNAS: https://apps.truenas.com/catalog/anki-sync-server/

## Common questions

### How do I create multiple sync users in the Docker image?

Set environment variables SYNC_USER1 through SYNC_USER99 with values in the form username:password. At least one user credential is required.

### Which ports are used by the sync server, dashboard, and metrics?

The default sync port is 8080, and 8443 is used for HTTPS when TLS is enabled. The dashboard is optional on 8081 and Prometheus metrics are optional on 9090.

### How should I persist data and backups?

Mount a volume at /data for the sync data and a volume at /backups for backups. Enable backups with BACKUP_ENABLED=true, and the image also supports retention and S3/MinIO upload.

### How is the web dashboard secured?

Enable it with DASHBOARD_ENABLED=true and set DASHBOARD_AUTH to an admin username and password for basic auth. It is served on port 8081.

---
Source: Our Local Host (https://ourlocalhost.com/app/3749/anki-sync-server), the self-hosted and open-source app directory.
