Skip to content

Instantly share code, notes, and snippets.

@Kezzsim
Created March 22, 2024 21:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kezzsim/808acdce0ea1729a1af9a152f0ce3fe6 to your computer and use it in GitHub Desktop.
Save Kezzsim/808acdce0ea1729a1af9a152f0ce3fe6 to your computer and use it in GitHub Desktop.
Tiled Typesense Configuration YAML
authentication:
# The default is false. Set to true to enable any HTTP client that can
# connect to _read_. An API key is still required to write.
allow_anonymous_access: false
single_user_api_key: "secret" # for dev
trees:
- path: /
tree: catalog
args:
uri: "sqlite+aiosqlite:///:memory:"
# or, uri: "sqlite+aiosqlite:////catalog.db"
# or, "postgresql+asyncpg://..."
writable_storage: "tmp/"
init_if_not_exists: true
typesense_client:
api_key: "secret"
schemas:
nodes:
- host: "http://localhost"
port: 8108
protocol: "http"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment