mirror of
https://github.com/wgh136/nysoure.git
synced 2025-12-17 08:01:15 +00:00
feat: redis
This commit is contained in:
@@ -16,8 +16,8 @@ services:
|
|||||||
- DB_USER=nysoure
|
- DB_USER=nysoure
|
||||||
- DB_PASSWORD=nysoure_password
|
- DB_PASSWORD=nysoure_password
|
||||||
- DB_NAME=nysoure
|
- DB_NAME=nysoure
|
||||||
- REDIS_HOST=tendis
|
- REDIS_HOST=redis
|
||||||
- REDIS_PORT=51002
|
- REDIS_PORT=6379
|
||||||
- BANNED_REDIRECT_DOMAINS=example.com,example.org
|
- BANNED_REDIRECT_DOMAINS=example.com,example.org
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
logging:
|
logging:
|
||||||
@@ -42,8 +42,8 @@ services:
|
|||||||
max-size: "10m"
|
max-size: "10m"
|
||||||
max-file: "3"
|
max-file: "3"
|
||||||
|
|
||||||
tendis:
|
redis:
|
||||||
image: tencentdbforkv/tendisplus:latest
|
image: redis:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
logging:
|
logging:
|
||||||
driver: "json-file"
|
driver: "json-file"
|
||||||
|
|||||||
Reference in New Issue
Block a user