mirror of
https://github.com/wgh136/nysoure.git
synced 2025-12-16 23:51:15 +00:00
feat: Implement proxy functionality
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user