Skip to content

Commit

Permalink
Add required Redis ports (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
No767 authored Sep 23, 2024
1 parent 152d9ab commit b452a2a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docker/docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ services:
image: redis:7-alpine
healthcheck:
test: redis-cli ping || exit 1
ports:
- 6379:6379
restart: always

kanae-prometheus:
Expand Down
6 changes: 5 additions & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ services:
- 8000:8000
depends_on:
- database
- redis
# Safety script to fully wait until PostgreSQL is up
command: sh -c '/kanae/wait-for database:5432 -- echo "[Wait-for] PostgreSQL is fully up. Waiting for Redis" && /kanae/wait-for redis:6379 -- echo "[Wait-for] Both PostgreSQL and Redis are fully ready. Starting up Kanae" && /kanae/start.sh'
restart: always
Expand Down Expand Up @@ -39,6 +40,9 @@ services:
image: redis:7-alpine
healthcheck:
test: redis-cli ping || exit 1
ports:
- 6379:6379
restart: always

volumes:
database:
database:

0 comments on commit b452a2a

Please sign in to comment.