2013-08-14 19:22:18 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								[sync_app]
							 | 
						
					
						
							
								
									
										
										
										
											2017-11-07 00:35:29 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								# change to 127.0.0.1 if you don't want the server to be accessible from the internet
							 | 
						
					
						
							
								
									
										
										
										
											2019-02-05 07:49:27 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								host = 0.0.0.0
							 | 
						
					
						
							
								
									
										
										
										
											2013-04-03 21:31:44 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								port = 27701
							 | 
						
					
						
							
								
									
										
										
										
											2019-02-05 07:49:27 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								data_root = ./collections
							 | 
						
					
						
							
								
									
										
										
										
											2013-04-03 21:31:44 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								base_url = /sync/
							 | 
						
					
						
							
								
									
										
										
										
											2015-11-29 12:53:58 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								base_media_url = /msync/
							 | 
						
					
						
							
								
									
										
										
										
											2019-02-05 07:49:27 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								auth_db_path = ./auth.db
							 | 
						
					
						
							
								
									
										
										
										
											2017-10-29 00:37:37 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								# optional, for session persistence between restarts
							 | 
						
					
						
							
								
									
										
										
										
											2019-02-05 07:49:27 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								session_db_path = ./session.db
							 | 
						
					
						
							
								
									
										
										
										
											2019-01-29 12:39:10 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# optional, for overriding the default managers and wrappers
							 | 
						
					
						
							
								
									
										
										
										
											2020-01-04 12:01:11 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								# # must inherit from ankisyncd.full_sync.FullSyncManager, e.g,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# full_sync_manager = great_stuff.postgres.PostgresFullSyncManager
							 | 
						
					
						
							
								
									
										
										
										
											2019-01-29 12:39:10 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								# # must inherit from ankisyncd.session.SimpleSessionManager, e.g,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# session_manager = great_stuff.postgres.PostgresSessionManager
							 | 
						
					
						
							
								
									
										
										
										
											2020-01-04 12:01:11 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								# # must inherit from ankisyncd.users.SimpleUserManager, e.g,
							 | 
						
					
						
							
								
									
										
										
										
											2019-01-29 12:39:10 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								# user_manager = great_stuff.postgres.PostgresUserManager
							 | 
						
					
						
							
								
									
										
										
										
											2020-01-04 12:01:11 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								# # must inherit from ankisyncd.collection.CollectionWrapper, e.g,
							 | 
						
					
						
							
								
									
										
										
										
											2019-01-29 12:39:10 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								# collection_wrapper = great_stuff.postgres.PostgresCollectionWrapper
							 |