1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2026-03-14 13:55:44 +01:00

docs: recommend using the official build of the docker image by default.

This commit is contained in:
Zicklag 2025-07-09 10:16:53 -05:00 committed by GitHub
commit ec3e7cf16d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -70,16 +70,10 @@ sudo service apache2 restart
## [Deploy with Docker](#docker) ## [Deploy with Docker](#docker)
### Building the image
```bash
docker build -t signaturepdf .
```
### Running a container ### Running a container
```bash ```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) [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 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) ## [Alpine](#alpine)
Here is a script to install the solution on Linux Alpine (tested with version 3.15). Here is a script to install the solution on Linux Alpine (tested with version 3.15).