feat: add mineru-v2

This commit is contained in:
Sun-ZhenXing
2025-09-21 16:57:19 +08:00
parent 92fd82cbb3
commit 166f0f2a50
8 changed files with 165 additions and 14 deletions

View File

@@ -8,4 +8,4 @@ SKIP_FIX_PERMS=1
REDIS_PASSWORD="passw0rd"
# Port to bind to on the host machine
REDIS_PORT_OVERRIDE_6379=16379
REDIS_PORT_OVERRIDE=16379

View File

@@ -2,11 +2,11 @@
## 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 |
| 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 | Host port mapping (maps to Redis port 6379 in container) | 6379 |
Please modify the `.env` file as needed for your use case.

View File

@@ -14,7 +14,7 @@ services:
image: redis:${REDIS_VERSION:-8.2.1-alpine3.22}
container_name: redis
ports:
- "${REDIS_PORT_OVERRIDE_6379:-6379}:6379"
- "${REDIS_PORT_OVERRIDE:-6379}:6379"
volumes:
- *localtime
- *timezone