CPN commit

This commit is contained in:
2025-11-25 13:30:58 +01:00
parent d4527f8bfd
commit 21b003f616
5 changed files with 85 additions and 0 deletions

BIN
cpn-lancache/1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
cpn-lancache/2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
cpn-lancache/3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,59 @@
# Configuration for lancache setup
# Name of the cpn-lancache application
version: "3.7"
# Service definitions for the cpn-lancache application
services:
app_proxy:
environment:
APP_HOST: cpn-umbrel-lancache_app_1
APP_PORT: "80"
# Service name: app
app:
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
# Host IP for the DNS server binding
- DNS_BIND_IP=10.0.39.1
# Upstream DNS for forwarded lookups
- UPSTREAM_DNS=8.8.8.8
# Local storage path for cache data
- CACHE_ROOT=./lancache
# Customizable disk cache size
- CACHE_DISK_SIZE=2000g
# Memory allocation for nginx cache indexing
- CACHE_INDEX_SIZE=500m
# Maximum age for cached content
- CACHE_MAX_AGE=3650d
# Container timezone setting for log timestamps
- TZ=UTC
restart: unless-stopped
volumes:
# Mount points for cache and logs
- ${APP_DATA_DIR}/cache:/data/cache
- ${APP_DATA_DIR}/logs:/data/logs
# DNS service configuration
dns:
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
# Host IP for the DNS server binding
- DNS_BIND_IP=10.0.39.1
# Upstream DNS for forwarded lookups
- UPSTREAM_DNS=8.8.8.8
# Local storage path for cache data
- CACHE_ROOT=./lancache
# Customizable disk cache size
- CACHE_DISK_SIZE=2000g
# Memory allocation for nginx cache indexing
- CACHE_INDEX_SIZE=500m
# Maximum age for cached content
- CACHE_MAX_AGE=3650d
# Container timezone setting for log timestamps
- TZ=UTC
restart: unless-stopped

View File

@@ -0,0 +1,26 @@
manifestVersion: 1
id: cpn-umbrel-lancache
category: networking
name: LAN Cache
version: "latest"
tagline: LAN Party game caching made easy
description: >-
Make the most of your network. Get more play for your gamers. Download your games once and serve them out to many people at your LAN.
releaseNotes: >-
This version includes various improvements and bug fixes.
developer: lancachenet
website: https://hub.docker.com/r/lancachenet/monolithic
dependencies: []
repo: http://umbrel:8085/companas/umbrel-apps
support: http://umbrel:8085/companas/umbrel-apps/issues
port: 10085
gallery:
- image-1.jpg
- image-2.jpg
- image-3.jpg
path: ""
defaultUsername: ""
defaultPassword: ""
icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/lancache-net.png
submitter: Weektab
submission: http://umbrel:8085/companas/umbrel-apps