Merge pull request 'signaturepdf' (#59) from signaturepdf into main

## Détails

- Ajout de l'image par défaut
- Ajout du paramètre _`restart`_

## Pourquoi

- Pour être transparent sur notre image
- Pour que le serveur redémarre automatique lors d'une coupure

Reviewed-on: #59
This commit is contained in:
Simon 2023-06-12 16:57:57 +02:00
commit 2667aa22dd
1 changed files with 2 additions and 1 deletions

View File

@ -9,9 +9,10 @@ volumes:
services: services:
signaturepdf: signaturepdf:
container_name: ${SIGNATUREPDF_CONTAINER_NAME:-signaturepdf} container_name: ${SIGNATUREPDF_CONTAINER_NAME:-signaturepdf}
image: ${SIGNATUREPDF_IMAGE} image: ${SIGNATUREPDF_IMAGE:-simonc/signaturepdf:latest}
volumes: volumes:
- signaturepdf:/data - signaturepdf:/data
restart: always
environment: environment:
SERVERNAME: ${SIGNATUREPDF_DOMAIN} SERVERNAME: ${SIGNATUREPDF_DOMAIN}
UPLOAD_MAX_FILESIZE: ${UPLOAD_MAX_FILESIZE} UPLOAD_MAX_FILESIZE: ${UPLOAD_MAX_FILESIZE}