Update lancache

This commit is contained in:
2025-11-28 21:06:14 +01:00
parent 20d1e16580
commit c8c04be093

View File

@@ -9,14 +9,15 @@ services:
APP_PORT: "80" APP_PORT: "80"
# Service name: app # Service name: app
app: app:
network_mode: host
image: lancachenet/monolithic:latest # Docker image for the caching service image: lancachenet/monolithic:latest # Docker image for the caching service
environment: environment:
# Toggle for load balancer usage or separate IPs for each service # Toggle for load balancer usage or separate IPs for each service
- USE_GENERIC_CACHE=true - USE_GENERIC_CACHE=true
# IPs for lancache monolithic instance; affects DNS resolution # IPs for lancache monolithic instance; affects DNS resolution
- LANCACHE_IP=10.0.39.1 - LANCACHE_IP=192.168.178.70
# Host IP for the DNS server binding # Host IP for the DNS server binding
- DNS_BIND_IP=10.0.39.1 - DNS_BIND_IP=192.168.178.70
# Upstream DNS for forwarded lookups # Upstream DNS for forwarded lookups
- UPSTREAM_DNS=8.8.8.8 - UPSTREAM_DNS=8.8.8.8
# Local storage path for cache data # Local storage path for cache data
@@ -36,14 +37,15 @@ services:
- ${APP_DATA_DIR}/logs:/data/logs - ${APP_DATA_DIR}/logs:/data/logs
# DNS service configuration # DNS service configuration
dns: dns:
network_mode: host
image: lancachenet/lancache-dns:latest # Docker image for DNS service image: lancachenet/lancache-dns:latest # Docker image for DNS service
environment: environment:
# Toggle for load balancer usage or separate IPs for each service # Toggle for load balancer usage or separate IPs for each service
- USE_GENERIC_CACHE=true - USE_GENERIC_CACHE=true
# IPs for lancache monolithic instance; affects DNS resolution # IPs for lancache monolithic instance; affects DNS resolution
- LANCACHE_IP=10.0.39.1 - LANCACHE_IP=192.168.178.70
# Host IP for the DNS server binding # Host IP for the DNS server binding
- DNS_BIND_IP=10.0.39.1 - DNS_BIND_IP=192.168.178.70
# Upstream DNS for forwarded lookups # Upstream DNS for forwarded lookups
- UPSTREAM_DNS=8.8.8.8 - UPSTREAM_DNS=8.8.8.8
# Local storage path for cache data # Local storage path for cache data