Import some files and transform to working containers for:
* mysql * lighttpd (with php and mysql) * transmission * sabnzbd * sickbeard * couchpotato * headphones * btsync
This commit is contained in:
@@ -22,3 +22,24 @@ mv /build/runit/redis /etc/service/redis/run
|
||||
echo -n $REDIS_CONFIG > /etc/container_environment/REDIS_CONFIG
|
||||
echo -n $REDIS_LOG > /etc/container_environment/REDIS_LOG
|
||||
echo -n $REDIS_DATA > /etc/container_environment/REDIS_DATA
|
||||
|
||||
|
||||
## TODO
|
||||
# ENV REDIS_VERSION stable
|
||||
|
||||
# RUN cd /opt && \
|
||||
# wget http://download.redis.io/releases/redis-$REDIS_VERSION.tar.gz && \
|
||||
# tar xzf redis-$REDIS_VERSION.tar.gz && \
|
||||
# cd redis-$REDIS_VERSION && \
|
||||
# make
|
||||
|
||||
# RUN chmod +x /opt/redis-$REDIS_VERSION/src/redis-server
|
||||
|
||||
# ENV REDIS_CONFIG /etc/redis/redis-server.conf
|
||||
# ENV REDIS_LOG /host/var/log/redis/redis-server.log
|
||||
# ENV REDIS_DATA /host/var/lib/redis
|
||||
|
||||
# RUN mkdir -p `dirname $REDIS_CONFIG`
|
||||
# RUN cp /opt/redis-$REDIS_VERSION/redis.conf $REDIS_CONFIG
|
||||
# RUN sed -i "s,^\(logfile\s*\).*$,\1$REDIS_LOG," $REDIS_CONFIG
|
||||
# RUN sed -i "s,^\(dir\s*\).*$,\1$REDIS_DATA," $REDIS_CONFIG
|
||||
Reference in New Issue
Block a user