From ec3e7cf16de43359438dd665e1b758d3553c4d51 Mon Sep 17 00:00:00 2001 From: Zicklag Date: Wed, 9 Jul 2025 10:16:53 -0500 Subject: [PATCH] docs: recommend using the official build of the docker image by default. --- installation.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) 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).