Update start-typesense.sh

This commit is contained in:
apoloz
2024-05-20 13:42:07 +00:00
parent bce846f162
commit dcaebdef46

View File

@@ -14,4 +14,5 @@ fi
echo "Starting single-node Typesense instance"
mkdir /tmp/typesense
docker rm typesense/typesense:$TYPESENSE_VERSION
docker run -d -p $TYPESENSE_PORT:8108 --name $TYPESENSE_CONTAINER_NAME -v/tmp/typesense:/data typesense/typesense:$TYPESENSE_VERSION --api-key=$TYPESENSE_API_KEY --data-dir /data --enable-cors