Skip to content

Commit

Permalink
feat: add signaturepdf
Browse files Browse the repository at this point in the history
  • Loading branch information
johackim committed May 16, 2024
1 parent 1dc658d commit a7c139d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stacks/minio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: '3.8'

services:
web:
image: minio/minio:${VERSION:-RELEASE.2022-10-24T18-35-07Z}
image: minio/minio:${VERSION:-RELEASE.2024-05-10T01-41-38Z}
command: server /data --console-address ":9001"
volumes:
- ${VOLUME_PATH}data:/data
Expand Down
26 changes: 26 additions & 0 deletions stacks/signaturepdf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# DOMAIN=example.com docker stack deploy -c signaturepdf.yml signaturepdf

version: '3.8'

services:
web:
image: ethibox/signaturepdf:${VERSION:-latest}
environment:
- SERVERNAME=${DOMAIN:-signaturepdf.localhost}
- UPLOAD_MAX_FILESIZE=${UPLOAD_MAX_FILESIZE:-50M}
- POST_MAX_SIZE=${POST_MAX_SIZE:-50M}
- MAX_FILE_UPLOADS=${MAX_FILE_UPLOADS:-300}
- PDF_STORAGE_PATH=/data
deploy:
labels:
- traefik.enable=true
- traefik.http.routers.signaturepdf-${NUMBER:-1}.rule=Host(`${DOMAIN:-signaturepdf.localhost}`)
- traefik.http.routers.signaturepdf-${NUMBER:-1}.entrypoints=${SCHEME:-https}
- traefik.http.routers.signaturepdf-${NUMBER:-1}.service=signaturepdf-${NUMBER:-1}
- traefik.http.routers.signaturepdf-${NUMBER:-1}.tls.certresolver=letsencrypt
- traefik.http.services.signaturepdf-${NUMBER:-1}.loadbalancer.server.port=80

networks:
default:
external: true
name: traefik-net

0 comments on commit a7c139d

Please sign in to comment.