mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-07 03:35:24 +00:00
11 lines
265 B
Bash
11 lines
265 B
Bash
export TYPESENSE_API_KEY=xyz
|
|
|
|
mkdir "$(pwd)"/typesense-data
|
|
|
|
docker run -d -p 8108:8108 \
|
|
-v"$(pwd)"/typesense-data:/data typesense/typesense:27.0 \
|
|
--add-host=host.docker.internal:host-gateway \
|
|
--data-dir /data \
|
|
--api-key=$TYPESENSE_API_KEY \
|
|
--enable-cors
|