Skip to content

Commit 1bb15ee

Browse files
authored
Pointing docker images to redis-stack (#106)
1 parent 3a0762d commit 1bb15ee

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

sample-app/redisearch-jedis-rest/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ You can run build and run the application from docker using the following comman
1818

1919
```shell script
2020

21-
> docker build -t redis/search-backend-java .
21+
> docker build -t redis/search-backend-java .
2222

2323
```
2424

@@ -31,7 +31,7 @@ This command will create a new image and build the maven project into it.
3131
--env "REDIS_URL=redis://redis-stack:6379" \
3232
--env "REDIS_INDEX=idx:movie" \
3333
--name "redisearch-backend-java"\
34-
-p 8085:8085 redis/search-backend-java
34+
-p 8085:8085 redis/redis-stack:latest
3535
```
3636

3737
You can now access the REST Search service using the following URL:

sample-app/redisearch-node-rest/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ Add the dependencies:
2121
* [Node RediSearch](https://www.npmjs.com/package/redis-redisearch)
2222

2323
```
24-
$ npm install express redis redis-redisearch --save
24+
$ npm install express redis redis-redisearch --save
2525
```
2626

2727

2828
#### 3- Create REST API Routes
2929

30-
Create the `server.js` file and add the following code
30+
Create the `server.js` file and add the following code
3131

3232
```js
3333
const express = require('express')
@@ -38,7 +38,7 @@ const port = 3003
3838
app.get('/api/1.0/', (req, res) => {
3939
res.json({"status" : "started"});
4040
})
41-
41+
4242

4343
app.get('/', (req, res) => {
4444
res.send('RediSearch Node REST Server Started')
@@ -66,7 +66,7 @@ You can run build and run the application from docker using the following comman
6666

6767
```shell script
6868

69-
> docker build -t redis/search-backend-node .
69+
> docker build -t redis/search-backend-node .
7070

7171
```
7272

@@ -79,7 +79,7 @@ This command will create a new image and build the Node.js project into it.
7979
--env "REDIS_URL=redis://host.docker.internal:6379" \
8080
--env "REDIS_INDEX=idx:movie" \
8181
--name "redisearch-backend-node"\
82-
-p 8086:8086 redis/search-backend-node
82+
-p 8086:8086 redis/redis-stack:latest
8383
```
8484

8585
### Running the application locally

sample-app/redisearch-python-rest/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ You can run build and run the application from docker using the following comman
1010

1111
```shell script
1212

13-
> docker build -t redis/search-backend-python .
13+
> docker build -t redis/search-backend-python .
1414

1515
```
1616

@@ -23,7 +23,7 @@ This command will create a new image and build the maven project into it.
2323
--env "REDIS_URL=redis://redis-stack:6379" \
2424
--env "REDIS_INDEX=idx:movie" \
2525
--name "redisearch-backend-python"\
26-
-p 8087:8087 redis/search-backend-python
26+
-p 8087:8087 redis/redis-stack:latest
2727
```
2828

2929
You can now access the REST Search service using the following URL:

0 commit comments

Comments
 (0)