mirror of
				https://github.com/TheAnachronism/docspell.git
				synced 2025-11-04 12:30:12 +00:00 
			
		
		
		
	Provide admin endpoint section in the config by docker setup
This commit is contained in:
		@@ -34,6 +34,17 @@ docspell.server {
 | 
			
		||||
      header-value = ${?DOCSPELL_HEADER_VALUE}
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  # This is a special endpoint that allows some basic administration.
 | 
			
		||||
  #
 | 
			
		||||
  # This is used for some endpoints, for example:
 | 
			
		||||
  # - re-create complete fulltext index:
 | 
			
		||||
  #   curl -XPOST -H'Docspell-Admin-Secret: xyz' http://localhost:7880/api/v1/admin/fts/reIndexAll
 | 
			
		||||
  admin-endpoint {
 | 
			
		||||
    # The secret. If empty, the endpoint is disabled.
 | 
			
		||||
    secret = ""
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  # Configuration of the full-text search engine.
 | 
			
		||||
  full-text-search {
 | 
			
		||||
    enabled = true
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user