Skip to content

Commit

Permalink
add redis in docker compose and command in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
moonpatel committed Nov 7, 2024
1 parent f71019b commit c55117b
Show file tree
Hide file tree
Showing 3 changed files with 235 additions and 264 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,11 @@ watch:
fi; \
fi

install-deps:
@echo "running pnpm install.."
@cd web && pnpm install && cd ..

watch-web:
@cd web && pnpm dev

.PHONY: all build run test clean watch docker-run docker-down itest
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ services:
- "8025:8025" # Web UI for email testing
restart: unless-stopped

redis:
image: redis:latest
ports:
- "${REDIS_PORT:-6379}:6379"
volumes:
- redis_data:/data
restart: unless-stopped

volumes:
psql_volume_bp:
minio_data:
redis_data:
Loading

0 comments on commit c55117b

Please sign in to comment.