new release 1.2
This commit is contained in:
parent
93da5b24a8
commit
9438b9b88f
@ -2,7 +2,7 @@ FROM php:fpm-alpine
|
||||
|
||||
MAINTAINER PrivateBin <support@privatebin.org>
|
||||
|
||||
ENV RELEASE 1.1.1
|
||||
ENV RELEASE 1.2
|
||||
|
||||
RUN \
|
||||
# Install dependencies
|
||||
@ -39,7 +39,7 @@ RUN \
|
||||
&& apk add --no-cache gnupg \
|
||||
&& export GNUPGHOME="$(mktemp -d)" \
|
||||
&& gpg2 --list-public-keys || /bin/true \
|
||||
&& curl -s https://privatebin.info/key/rugk.asc | gpg2 --import - \
|
||||
&& curl -s https://privatebin.info/key/security.asc | gpg2 --import - \
|
||||
&& rm -rf /var/www/* \
|
||||
&& cd /tmp \
|
||||
&& curl -Ls https://github.com/PrivateBin/PrivateBin/releases/download/${RELEASE}/PrivateBin-${RELEASE}.tar.gz.asc > PrivateBin-${RELEASE}.tar.gz.asc \
|
||||
|
@ -9,7 +9,7 @@ This repository contains the Dockerfile and resources needed to create a docker
|
||||
Assuming you have docker successfully installed and internet access, you can fetch and run the image from the docker hub like this:
|
||||
|
||||
```bash
|
||||
docker run -d --restart="always" --read-only -p 8080:80 -v privatebin-data:/srv/data privatebin/nginx-fpm-alpine:1.1.1
|
||||
docker run -d --restart="always" --read-only -p 8080:80 -v privatebin-data:/srv/data privatebin/nginx-fpm-alpine:1.2
|
||||
```
|
||||
|
||||
The parameters in detail:
|
||||
@ -25,7 +25,7 @@ The parameters in detail:
|
||||
In case you want to use a customized [conf.php](https://github.com/PrivateBin/PrivateBin/blob/master/cfg/conf.sample.php) file, for example one that has file uploads enabled or that uses a different template, add the file as a second volume:
|
||||
|
||||
```bash
|
||||
docker run -d --restart="always" --read-only -p 8080:80 -v conf.php:/srv/cfg/conf.php:ro -v privatebin-data:/srv/data privatebin/nginx-fpm-alpine:1.1.1
|
||||
docker run -d --restart="always" --read-only -p 8080:80 -v conf.php:/srv/cfg/conf.php:ro -v privatebin-data:/srv/data privatebin/nginx-fpm-alpine:1.2
|
||||
```
|
||||
|
||||
Note: The `Filesystem` data storage is supported out of the box. The image includes PDO modules for MySQL and SQLite, required for the `Database` one, but you still need to keep the /srv/data persisted for the server salt and the traffic limiter.
|
||||
|
Loading…
Reference in New Issue
Block a user