mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-11 14:06:07 +08:00
Update Dockerfile and readme
This commit is contained in:
parent
e28cf9d1f1
commit
56b5a6851b
2 changed files with 7 additions and 0 deletions
|
@ -40,6 +40,8 @@ RUN /bin/bash -c "export DEBIAN_FRONTEND=noninteractive" && \
|
||||||
wget
|
wget
|
||||||
RUN a2enmod ssl
|
RUN a2enmod ssl
|
||||||
RUN ln -s /etc/apache2/sites-available/default-ssl.conf /etc/apache2/sites-enabled
|
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 https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh /var/www/html/
|
||||||
ADD ./appinfo/ /var/www/passman/appinfo/
|
ADD ./appinfo/ /var/www/passman/appinfo/
|
||||||
ADD ./controller/ /var/www/passman/controller/
|
ADD ./controller/ /var/www/passman/controller/
|
||||||
|
|
|
@ -59,6 +59,11 @@ Please do the following
|
||||||
|
|
||||||
Or if you're feeling lazy, create an issue, and we'll think about it.
|
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
|
## Development
|
||||||
|
|
Loading…
Add table
Reference in a new issue