Update lancache
This commit is contained in:
@@ -1,39 +1,35 @@
|
|||||||
version: "3.7"
|
version: "3.7"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app_proxy:
|
|
||||||
image: lancachenet/monolithic:latest
|
|
||||||
environment:
|
|
||||||
APP_HOST: app
|
|
||||||
APP_PORT: "80"
|
|
||||||
restart: unless-stopped
|
|
||||||
network_mode: "host"
|
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: lancachenet/monolithic:latest
|
image: lancachenet/monolithic:latest
|
||||||
|
container_name: lancache_app
|
||||||
environment:
|
environment:
|
||||||
USE_GENERIC_CACHE: "true"
|
USE_GENERIC_CACHE: "true"
|
||||||
LANCACHE_IP: 192.168.178.70
|
LANCACHE_IP: "192.168.178.70"
|
||||||
DNS_BIND_IP: 192.168.178.70
|
CACHE_ROOT: "/data/cache"
|
||||||
UPSTREAM_DNS: 8.8.8.8
|
CACHE_DISK_SIZE: "2000g"
|
||||||
CACHE_ROOT: /data/cache
|
CACHE_INDEX_SIZE: "500m"
|
||||||
CACHE_DISK_SIZE: 2000g
|
CACHE_MAX_AGE: "3650d"
|
||||||
CACHE_INDEX_SIZE: 500m
|
TZ: "UTC"
|
||||||
CACHE_MAX_AGE: 3650d
|
|
||||||
TZ: UTC
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
- "443:443"
|
||||||
volumes:
|
volumes:
|
||||||
- ${APP_DATA_DIR}/cache:/data/cache
|
- ./lancache/cache:/data/cache
|
||||||
- ${APP_DATA_DIR}/logs:/data/logs
|
- ./lancache/logs:/data/logs
|
||||||
network_mode: "host"
|
|
||||||
|
|
||||||
dns:
|
dns:
|
||||||
image: lancachenet/lancache-dns:latest
|
image: lancachenet/lancache-dns:latest
|
||||||
|
container_name: lancache_dns
|
||||||
environment:
|
environment:
|
||||||
USE_GENERIC_CACHE: "true"
|
USE_GENERIC_CACHE: "true"
|
||||||
LANCACHE_IP: 192.168.178.70
|
LANCACHE_IP: "192.168.178.70"
|
||||||
DNS_BIND_IP: 192.168.178.70
|
DNS_BIND_IP: "0.0.0.0"
|
||||||
UPSTREAM_DNS: 8.8.8.8
|
UPSTREAM_DNS: "8.8.8.8"
|
||||||
TZ: UTC
|
TZ: "UTC"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
network_mode: "host"
|
ports:
|
||||||
|
- "53:53/udp"
|
||||||
|
- "53:53/tcp"
|
||||||
Reference in New Issue
Block a user