Skip to content

It depends on Anki 2.1.57+ which includes a built-in sync server.

License

Notifications You must be signed in to change notification settings

ArenaDruid/ankisyncserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

ankisyncserver

Introduction

It's the syncserver under the Anki 2.1.57+ which includes a built-in sync server.

Looking Self-Hosted Sync Server

This image use the Chinese mainland's Pypi image to build, if you want to use the official Pypi image to get better experience, you can go to Github to get Dockerfile and change the Pypi image.

How to Use

I advice to use docker-compse to run the container

version: '3.3'
services:
    ankisyncserver:
        environment:
            # - TZ=<TimeZone>
            - SYNC_USER1=<user>:<passwd>
            - MAX_SYNC_UPLOAD_MEGS=20000
        container_name: ankisyncserver
        volumes:
            - data:/root/.syncserver
        image: arenadruid/ankisyncserver
        network_mode: bridge
        ports:
            - 8080:8080
        restart: on-failure
volumes:
    data:
  1. change the <user> and <passwd>
  2. if you need more Users, you can add the SYNC_USER2=<user>:<passwd>, SYNC_USER3=<user>:<passwd>, .... in the environment.

About

It depends on Anki 2.1.57+ which includes a built-in sync server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published