Version bump and fixes #10.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
FROM alpine:latest
|
||||
MAINTAINER Jeroen Geusebroek <me@jeroengeusebroek.nl>
|
||||
|
||||
ARG VERSION=1.3.1
|
||||
ARG VERSION=1.3.2
|
||||
|
||||
ENV GID=991 UID=991
|
||||
|
||||
@@ -41,8 +41,8 @@ COPY files/php-fpm.conf /etc/php7/php-fpm.conf
|
||||
COPY files/supervisord.conf /usr/local/etc/supervisord.conf
|
||||
COPY entrypoint.sh /
|
||||
|
||||
# mark dirs as volumes that need to be writable, allows running the container --read-only
|
||||
VOLUME [ "/privatebin/data", "/privatebin/cfg", "/etc", "/tmp", "/var/tmp", "/run", "/var/log" ]
|
||||
# Mark dirs as volumes that need to be writable, allows running the container --read-only
|
||||
VOLUME [ "/privatebin/data", "/privatebin/cfg", "/etc", "/tmp", "/var/lib/nginx/tmp", "/run", "/var/log" ]
|
||||
|
||||
EXPOSE 80
|
||||
LABEL description "PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data."
|
||||
|
||||
@@ -6,7 +6,7 @@ A tiny image running [alpine](https://github.com/gliderlabs/docker-alpine) Linux
|
||||
## Usage
|
||||
|
||||
docker run --restart=always -d \
|
||||
--read-only
|
||||
--read-only \
|
||||
-p 0.0.0.0:80:80 \
|
||||
--hostname=privatebin \
|
||||
--name=privatebin \
|
||||
|
||||
@@ -7,5 +7,5 @@ if [ ! -f /privatebin/cfg/conf.php ]; then
|
||||
cp /privatebin/conf.sample.php /privatebin/cfg/conf.php
|
||||
fi
|
||||
|
||||
chown -R privatebin:privatebin /privatebin/data /var/tmp/nginx
|
||||
chown -R privatebin:privatebin /privatebin/data
|
||||
supervisord -c /usr/local/etc/supervisord.conf
|
||||
|
||||
Reference in New Issue
Block a user