feat: add redis

This commit is contained in:
Sun-ZhenXing
2025-09-21 16:40:26 +08:00
parent e04f439c3b
commit 92fd82cbb3
7 changed files with 179 additions and 0 deletions

12
src/redis/README.md Normal file
View File

@@ -0,0 +1,12 @@
# Redis
## Environment Variables
| Variable Name | Description | Default Value |
| ------------------------ | -------------------------------------------------------- | -------------------- |
| REDIS_VERSION | Redis image version | `"8.2.1-alpine3.22"` |
| SKIP_FIX_PERMS | Skip permission fixing, set to 1 to skip | `""` |
| REDIS_PASSWORD | Password for the default "default" user | `""` |
| REDIS_PORT_OVERRIDE_6379 | Host port mapping (maps to Redis port 6379 in container) | 6379 |
Please modify the `.env` file as needed for your use case.