Files
umbrel-apps/cpn-lancache/docker-compose.yml
2025-11-28 20:56:41 +01:00

35 lines
811 B
YAML

version: "3.7"
services:
app:
image: lancachenet/monolithic:latest
container_name: lancache_app
environment:
USE_GENERIC_CACHE: "true"
LANCACHE_IP: "192.168.178.70"
CACHE_ROOT: "/data/cache"
CACHE_DISK_SIZE: "2000g"
CACHE_INDEX_SIZE: "500m"
CACHE_MAX_AGE: "3650d"
TZ: "UTC"
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./lancache/cache:/data/cache
- ./lancache/logs:/data/logs
dns:
image: lancachenet/lancache-dns:latest
container_name: lancache_dns
environment:
USE_GENERIC_CACHE: "true"
LANCACHE_IP: "192.168.178.70"
DNS_BIND_IP: "0.0.0.0"
UPSTREAM_DNS: "8.8.8.8"
TZ: "UTC"
restart: unless-stopped
ports:
- "53:53/udp"
- "53:53/tcp"