43 lines
1020 B
YAML
43 lines
1020 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
app_proxy:
|
|
environment:
|
|
APP_HOST: cpn-lancache_app_1
|
|
APP_PORT: "80"
|
|
|
|
app:
|
|
image: lancachenet/monolithic:latest
|
|
environment:
|
|
- USE_GENERIC_CACHE=true
|
|
- LANCACHE_IP=192.168.178.70
|
|
- UPSTREAM_DNS=8.8.8.8
|
|
- CACHE_ROOT=/data/cache
|
|
- CACHE_DISK_SIZE=2000g
|
|
- CACHE_INDEX_SIZE=500m
|
|
- CACHE_MAX_AGE=3650d
|
|
- TZ=Europe/Berlin
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ${APP_DATA_DIR}/cache:/data/cache
|
|
- ${APP_DATA_DIR}/logs:/data/logs
|
|
ulimits:
|
|
nofile:
|
|
soft: 65536
|
|
hard: 65536
|
|
|
|
dns:
|
|
image: lancachenet/lancache-dns:latest
|
|
environment:
|
|
# USE_GENERIC_CACHE=true
|
|
- STEAM_IP=192.168.178.70
|
|
- BLIZZARD_IP=192.168.178.70
|
|
- EPICGAMES_IP=192.168.178.70
|
|
- USE_ALL_SERVICES=true
|
|
- LANCACHE_IP=192.168.178.70
|
|
- UPSTREAM_DNS=8.8.8.8
|
|
- TZ=Europe/Berlin
|
|
ports:
|
|
- "53:53/udp"
|
|
- "53:53/tcp"
|
|
restart: unless-stopped |