Update Dockerfile and readme

This commit is contained in:
Sander 2016-10-20 10:34:01 +02:00
parent e28cf9d1f1
commit 56b5a6851b
2 changed files with 7 additions and 0 deletions

View file

@ -40,6 +40,8 @@ RUN /bin/bash -c "export DEBIAN_FRONTEND=noninteractive" && \
wget
RUN a2enmod ssl
RUN ln -s /etc/apache2/sites-available/default-ssl.conf /etc/apache2/sites-enabled
RUN rm /etc/ssl/certs/ssl-cert-snakeoil.pem
RUN rm /etc/ssl/private/ssl-cert-snakeoil.key
ADD https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh /var/www/html/
ADD ./appinfo/ /var/www/passman/appinfo/
ADD ./controller/ /var/www/passman/controller/

View file

@ -59,6 +59,11 @@ Please do the following
Or if you're feeling lazy, create an issue, and we'll think about it.
## Docker
To run passman with docker you can use `docker run -p 8080:80 -p 8443:443 brantje/passman`
SSL certificates are not shipped by default, you have to mount them:
Example:
`-v etc/ssl/certs/ssl-cert-snakeoil.pem:/etc/ssl/certs/ssl-cert-snakeoil.pem -v /etc/ssl/private/ssl-cert-snakeoil.key:/etc/ssl/private/ssl-cert-snakeoil.key`
## Development