Skip to content

Commit e652eaf

Browse files
committed
update: typesense binary
1 parent 17b3070 commit e652eaf

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.circleci/config.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,15 @@ jobs:
3131
DOCKERIZE_VERSION: v0.3.0
3232

3333
- run:
34-
name: Install and run Typesense
35-
command: docker run -p 8108:8108 -v/tmp/typesense-data:/data -d typesense/typesense:0.21.0 --data-dir /data --api-key=xyz
34+
name: Install Typesense
35+
command: wget https://dl.typesense.org/releases/0.21.0/typesense-server-0.21.0-linux-amd64.tar.gz && sudo tar -C /usr/local/bin -xzvf typesense-server-0.21.0-linux-amd64.tar.gz && rm typesense-server-0.21.0-linux-amd64.tar.gz
3636
environment:
37-
DOCKERIZE_VERSION: 0.21.0
37+
TYPESENSE_VERSION: 0.21.0
38+
39+
- run:
40+
name: Run Typesense
41+
command: mkdir data && typesense-server --data-dir ./data --api-key=xyz
42+
background: true
3843

3944
# Download and cache dependencies
4045
- restore_cache:

0 commit comments

Comments
 (0)