Skip to content

Commit 528bf02

Browse files
committed
docs: Update docker-compose.yml
1 parent d0d5cae commit 528bf02

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

docker-compose.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@ services:
55
# Database. Only Postgres is currently supported.
66
db:
77
image: postgres:16
8+
ports:
9+
- "5432:5432/tcp"
810
environment:
911
- POSTGRES_PASSWORD=postgres
1012

1113
# Redis with Redisearch.
1214
redis:
13-
image: redislabs/redisearch:latest
14-
15+
image: redis/redis-stack-server:latest
16+
volumes:
17+
- /opt/docker/shocklink/redis/redis-stack.conf:/redis-stack.conf
18+
1519
# The API.
1620
# Check https://github.com/Shock-Link/API for the latest configuration settings.
1721
api:
@@ -22,7 +26,7 @@ services:
2226
ports:
2327
- "5001:80/tcp"
2428
environment:
25-
- SHOCKLINK__DB=Host=docker-node;Port=1337;Database=root;Username=root;Password=root;Search Path=ShockLink
29+
- SHOCKLINK__DB=Host=db;Port=5432;Database=postgres;Username=postgres;Password=postgres;Search Path=ShockLink
2630
- SHOCKLINK__REDIS__HOST=redis
2731
- SHOCKLINK__FRONTENDBASEURL=http://local:5002
2832

redis-stack.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
notify-keyspace-events KEA

0 commit comments

Comments
 (0)