Updated readying for steamcache/generic 2

This commit is contained in:
VibroAxe 2018-12-02 16:27:23 +00:00
parent 771de2e468
commit 66e6e2d366
3 changed files with 1 additions and 3 deletions

View file

@ -1,5 +1,4 @@
FROM vibroaxe/generic:supervisord FROM vibroaxe/generic:supervisord
#FROM 1and1internet/ubuntu-18-nginx:latest
MAINTAINER SteamCache.Net Team <team@steamcache.net> MAINTAINER SteamCache.Net Team <team@steamcache.net>
ENV GENERICCACHE_VERSION 2 ENV GENERICCACHE_VERSION 2
@ -25,5 +24,4 @@ RUN mkdir -m 755 -p /data/cachedomains ;\
VOLUME ["/data/logs", "/data/cache", "/data/cachedomains", "/var/www"] VOLUME ["/data/logs", "/data/cache", "/data/cachedomains", "/var/www"]
EXPOSE 80 EXPOSE 80
WORKDIR /scripts WORKDIR /scripts

View file

@ -27,5 +27,5 @@ jq -r '.cache_domains | to_entries[] | .key' cache_domains.json | while read CAC
done done
echo "}" >> $OUTPUTFILE echo "}" >> $OUTPUTFILE
cat $OUTPUTFILE cat $OUTPUTFILE
cp $OUTPUTFILE /etc/nginx/conf.d/20_maps.conf cp $OUTPUTFILE /etc/nginx/conf.d/30_maps.conf
rm -rf $TEMP_PATH rm -rf $TEMP_PATH