diff --git a/installation.md b/installation.md index 3286cad..97b86e0 100644 --- a/installation.md +++ b/installation.md @@ -70,16 +70,10 @@ sudo service apache2 restart ## [Deploy with Docker](#docker) -### Building the image - -```bash -docker build -t signaturepdf . -``` - ### Running a container ```bash -docker run -d --name=signaturepdf -p 8080:80 signaturepdf +docker run -d --name=signaturepdf -p 8080:80 xgaia/signaturepdf ``` [localhost:8080](http://localhost:8080) @@ -104,6 +98,17 @@ The following variables can be used to configure the deployment: docker run -d --name=signaturepdf -p 8080:80 -e SERVERNAME=pdf.example.org -e UPLOAD_MAX_FILESIZE=48M -e POST_MAX_SIZE=48M -e MAX_FILE_UPLOADS=401 -e PDF_STORAGE_PATH=/data signaturepdf ``` +### Building the image from source + +You can also build the Docker image from source if necessary: + +```bash +git clone https://github.com/24eme/signaturepdf.git +cd signaturepdf +docker build -t signaturepdf . +docker run -d --name=signaturepdf -p 8080:80 signaturepdf +``` + ## [Alpine](#alpine) Here is a script to install the solution on Linux Alpine (tested with version 3.15).