21 lines
911 B
Plaintext
21 lines
911 B
Plaintext
|
|
[sync_app]
|
||
|
|
# change to 127.0.0.1 if you don't want the server to be accessible from the internet
|
||
|
|
host = 0.0.0.0
|
||
|
|
port = 27001
|
||
|
|
data_root = /data/anki/collections
|
||
|
|
base_url = /sync/
|
||
|
|
base_media_url = /msync/
|
||
|
|
auth_db_path = /data/anki/auth.db
|
||
|
|
# optional, for session persistence between restarts
|
||
|
|
session_db_path = /data/anki/session.db
|
||
|
|
|
||
|
|
# optional, for overriding the default managers and wrappers
|
||
|
|
# # must inherit from ankisyncd.full_sync.FullSyncManager, e.g,
|
||
|
|
# full_sync_manager = great_stuff.postgres.PostgresFullSyncManager
|
||
|
|
# # must inherit from ankisyncd.session.SimpleSessionManager, e.g,
|
||
|
|
# session_manager = great_stuff.postgres.PostgresSessionManager
|
||
|
|
# # must inherit from ankisyncd.users.SimpleUserManager, e.g,
|
||
|
|
# user_manager = great_stuff.postgres.PostgresUserManager
|
||
|
|
# # must inherit from ankisyncd.collection.CollectionWrapper, e.g,
|
||
|
|
# collection_wrapper = great_stuff.postgres.PostgresCollectionWrapper
|