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:
parent
33cba549a8
commit
ec3e7cf16d
1 changed files with 12 additions and 7 deletions
|
|
@ -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).
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue