Skip to content

Commit 1a95f51

Browse files
committed
chore: added microprofile-liberty-redis-single-node sample
Signed-off-by: Maximillian Arruda <[email protected]>
1 parent 9a66e04 commit 1a95f51

File tree

22 files changed

+229
-222
lines changed

22 files changed

+229
-222
lines changed

README.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@ Open Liberty is a lightweight and highly flexible open-source application server
2727
|Simple CRUD REST application with *Jakarta Bean Validation* support
2828
| MongoDB
2929

30-
| link:microprofile-liberty-redis/[]
30+
| link:microprofile-liberty-redis-single-node/[]
3131
| Simple CRUD REST application
32-
| Redis
33-
32+
| Redis - Single node
3433

3534
|===
3635

microprofile-liberty-redis/README.adoc renamed to microprofile-liberty-redis-single-node/README.adoc

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,7 @@ image::https://jnosql.github.io/img/logos/redis.png[Redis Project,align="center"
99
https://redis.com/[Redis] is a software project that implements data structure servers.
1010
It is open-source, networked, in-memory, and stores keys with optional durability.
1111

12-
The project is configured to reach out a Redis instance with the following configuration:
13-
14-
[source, text]
15-
----
16-
host: localhost
17-
port: 6379
18-
----
19-
20-
This Eclipse JNoSQL configuration is defined on the file `src/main/resources/META-INF/microprofile-config.properties`. More info about it, check the following link: https://github.com/eclipse/jnosql-databases?tab=readme-ov-file#configuration-14
12+
The project is configured to reach out a Redis instance with the following configuration defined on the file `src/main/resources/META-INF/microprofile-config.properties`. More info about it, check the following link: https://github.com/eclipse/jnosql-databases?tab=readme-ov-file#configuration-14
2113

2214
[source,properties]
2315
----
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: "3"
2+
3+
services:
4+
redis-single-node:
5+
container_name: "redis-single-node"
6+
image: redis
7+
command: redis-server
8+
ports:
9+
- "6379:6379"
10+
volumes:
11+
- redis-single-node-data:/data
12+
13+
volumes:
14+
redis-single-node-data:
15+
driver: local
File renamed without changes.

0 commit comments

Comments
 (0)