mirror of
https://github.com/lancachenet/monolithic
synced 2024-11-22 03:53:06 +00:00
Update dockerfile to include CACHE_MODE
This commit is contained in:
parent
6d56c27314
commit
ac5ba06e65
1 changed files with 13 additions and 11 deletions
24
Dockerfile
24
Dockerfile
|
@ -1,17 +1,19 @@
|
||||||
FROM lancachenet/generic:latest
|
FROM lancachenet/generic:latest
|
||||||
MAINTAINER LanCache.Net Team <team@lancache.net>
|
MAINTAINER LanCache.Net Team <team@lancache.net>
|
||||||
|
|
||||||
ENV GENERICCACHE_VERSION 2
|
ENV GENERICCACHE_VERSION=2 \
|
||||||
ENV WEBUSER www-data
|
CACHE_MODE=monolithic \
|
||||||
ENV CACHE_MEM_SIZE 500m
|
WEBUSER=www-data \
|
||||||
ENV CACHE_DISK_SIZE 1000000m
|
CACHE_MEM_SIZE=500m \
|
||||||
ENV CACHE_MAX_AGE 3560d
|
CACHE_DISK_SIZE=1000000m \
|
||||||
ENV UPSTREAM_DNS 8.8.8.8 8.8.4.4
|
CACHE_MAX_AGE=3560d \
|
||||||
ENV BEAT_TIME 1h
|
CACHE_SLICE_SIZE=1m \
|
||||||
ENV LOGFILE_RETENTION 3560
|
UPSTREAM_DNS="8.8.8.8 8.8.4.4" \
|
||||||
ENV CACHE_DOMAINS_REPO https://github.com/uklans/cache-domains.git
|
BEAT_TIME=1h \
|
||||||
ENV CACHE_DOMAINS_BRANCH master
|
LOGFILE_RETENTION=3560 \
|
||||||
ENV NGINX_WORKER_PROCESSES auto
|
CACHE_DOMAINS_REPO="https://github.com/uklans/cache-domains.git" \
|
||||||
|
CACHE_DOMAINS_BRANCH=master \
|
||||||
|
NGINX_WORKER_PROCESSES=auto
|
||||||
|
|
||||||
COPY overlay/ /
|
COPY overlay/ /
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue