feat: add typesense volume
This commit is contained in:
3
.github/workflows/container-name.yml
vendored
3
.github/workflows/container-name.yml
vendored
@@ -19,3 +19,6 @@ jobs:
|
||||
with:
|
||||
typesense-version: ${{ matrix.typesense-version }}
|
||||
typesense-container-name: typesense-custom
|
||||
|
||||
- name: Curl Typesense
|
||||
run: sleep 10 && curl http://localhost:8108/health
|
||||
|
||||
3
.github/workflows/custom-port.yml
vendored
3
.github/workflows/custom-port.yml
vendored
@@ -19,3 +19,6 @@ jobs:
|
||||
with:
|
||||
typesense-version: ${{ matrix.typesense-version }}
|
||||
typesense-port: 12345
|
||||
|
||||
- name: Curl Typesense
|
||||
run: sleep 10 && curl http://localhost:12345/health
|
||||
|
||||
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@@ -18,3 +18,6 @@ jobs:
|
||||
uses: ./
|
||||
with:
|
||||
typesense-version: ${{ matrix.typesense-version }}
|
||||
|
||||
- name: Curl Typesense
|
||||
run: sleep 10 && curl http://localhost:8108/health
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## v1.0.1
|
||||
|
||||
- [BugFix] Added typesense volume
|
||||
|
||||
## v1.0.0
|
||||
|
||||
### Added
|
||||
|
||||
- Release `v1.0.0`
|
||||
- Initial Release
|
||||
|
||||
@@ -12,4 +12,6 @@ if [ -z "$TYPESENSE_VERSION" ]; then
|
||||
fi
|
||||
|
||||
echo "Starting single-node Typesense instance"
|
||||
docker run -d -p $TYPESENSE_PORT:8108 --name $TYPESENSE_CONTAINER_NAME typesense/typesense:$TYPESENSE_VERSION --api-key=$TYPESENSE_API_KEY --data-dir /data --enable-cors
|
||||
|
||||
mkdir /tmp/typesense
|
||||
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
|
||||
Reference in New Issue
Block a user