Update lancache
This commit is contained in:
@@ -9,14 +9,15 @@ services:
|
||||
APP_PORT: "80"
|
||||
# Service name: app
|
||||
app:
|
||||
network_mode: host
|
||||
image: lancachenet/monolithic:latest # Docker image for the caching service
|
||||
environment:
|
||||
# Toggle for load balancer usage or separate IPs for each service
|
||||
- USE_GENERIC_CACHE=true
|
||||
# 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
|
||||
- DNS_BIND_IP=10.0.39.1
|
||||
- DNS_BIND_IP=192.168.178.70
|
||||
# Upstream DNS for forwarded lookups
|
||||
- UPSTREAM_DNS=8.8.8.8
|
||||
# Local storage path for cache data
|
||||
@@ -36,14 +37,15 @@ services:
|
||||
- ${APP_DATA_DIR}/logs:/data/logs
|
||||
# DNS service configuration
|
||||
dns:
|
||||
network_mode: host
|
||||
image: lancachenet/lancache-dns:latest # Docker image for DNS service
|
||||
environment:
|
||||
# Toggle for load balancer usage or separate IPs for each service
|
||||
- USE_GENERIC_CACHE=true
|
||||
# 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
|
||||
- DNS_BIND_IP=10.0.39.1
|
||||
- DNS_BIND_IP=192.168.178.70
|
||||
# Upstream DNS for forwarded lookups
|
||||
- UPSTREAM_DNS=8.8.8.8
|
||||
# Local storage path for cache data
|
||||
|
||||
Reference in New Issue
Block a user