monolithic/Dockerfile
2018-12-02 17:19:28 +00:00

27 lines
670 B
Docker

FROM vibroaxe/generic:supervisord
MAINTAINER SteamCache.Net Team <team@steamcache.net>
ENV GENERICCACHE_VERSION 2
ENV WEBUSER nginx
ENV CACHE_MEM_SIZE 500m
ENV CACHE_DISK_SIZE 500000m
ENV CACHE_MAX_AGE 3560d
ENV UPSTREAM_DNS 8.8.8.8 8.8.4.4
ENV BEAT_TIME 1h
ENV LOGFILE_RETENTION 3560
ENV CACHE_DOMAIN_REPO https://github.com/uklans/cache-domains.git
ENV UPSTREAM_DNS 8.8.8.8 8.8.4.4
ENV NGINX_WORKER_PROCESSES auto
COPY overlay/ /
RUN mkdir -m 755 -p /data/cachedomains ;\
mkdir -m 755 -p /tmp/nginx ;\
apt-get update ;\
apt-get install -y jq git ;
VOLUME ["/data/logs", "/data/cache", "/data/cachedomains", "/var/www"]
EXPOSE 80
WORKDIR /scripts