version: "3.7" services: app_proxy: environment: APP_HOST: app APP_PORT: "80" app: image: lancachenet/monolithic:latest environment: - USE_GENERIC_CACHE=true - LANCACHE_IP=app - DNS_BIND_IP=0.0.0.0 - UPSTREAM_DNS=8.8.8.8 - CACHE_ROOT=./lancache - CACHE_DISK_SIZE=2000g - CACHE_INDEX_SIZE=500m - CACHE_MAX_AGE=3650d - TZ=UTC restart: unless-stopped volumes: - ${APP_DATA_DIR}/cache:/data/cache - ${APP_DATA_DIR}/logs:/data/logs dns: image: lancachenet/lancache-dns:latest environment: - USE_GENERIC_CACHE=true - LANCACHE_IP=app - DNS_BIND_IP=0.0.0.0 - UPSTREAM_DNS=8.8.8.8 - CACHE_ROOT=./lancache - CACHE_DISK_SIZE=2000g - CACHE_INDEX_SIZE=500m - CACHE_MAX_AGE=3650d - TZ=UTC restart: unless-stopped ports: - "53:53/udp" - "53:53/tcp"