feat: Implement proxy functionality

This commit is contained in:
2025-11-22 20:27:54 +08:00
parent 327fd72be0
commit 8b340ab175
6 changed files with 208 additions and 1 deletions

View File

@@ -9,14 +9,22 @@ services:
- app_data:/var/lib/nysoure
depends_on:
- db
- tendis
environment:
- DB_HOST=db
- DB_PORT=3306
- DB_USER=nysoure
- DB_PASSWORD=nysoure_password
- DB_NAME=nysoure
- REDIS_HOST=tendis
- REDIS_PORT=6379
- BANNED_REDIRECT_DOMAINS=example.com,example.org
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
db:
image: mariadb:latest
@@ -30,7 +38,26 @@ services:
ports:
- "3306"
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
tendis:
image: tendis/tendis:latest
volumes:
- tendis_data:/data
ports:
- "6379"
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
volumes:
app_data:
db_data:
tendis_data: