Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add required Redis ports #11

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: