mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-06 03:05:25 +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/
|
||||
build/
|
||||
*.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