mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-07 03:35:24 +00:00
feat: add typesense
This commit is contained in:
parent
9e4e23469f
commit
3659d4ac56
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ dist/
|
|||||||
memos.egg-info/
|
memos.egg-info/
|
||||||
build/
|
build/
|
||||||
*.pyc
|
*.pyc
|
||||||
|
typesense-data/
|
||||||
|
9
search-engine/run-docker.sh
Normal file
9
search-engine/run-docker.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
export TYPESENSE_API_KEY=xyz
|
||||||
|
|
||||||
|
mkdir "$(pwd)"/typesense-data
|
||||||
|
|
||||||
|
docker run -d -p 8108:8108 \
|
||||||
|
-v"$(pwd)"/typesense-data:/data typesense/typesense:26.0 \
|
||||||
|
--data-dir /data \
|
||||||
|
--api-key=$TYPESENSE_API_KEY \
|
||||||
|
--enable-cors
|
Loading…
x
Reference in New Issue
Block a user