Compare commits
5 Commits
66da275f4c
...
fad68813ae
Author | SHA1 | Date |
---|---|---|
Simon | fad68813ae | |
Simon | f4d72bff12 | |
Simon | 532c0a9c7b | |
Simon | e24754bc44 | |
Simon | b770dfd525 |
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
services:
|
||||||
|
signaturepdf:
|
||||||
|
labels:
|
||||||
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-signaturepdf}.tls.certResolver=letsencrypt
|
||||||
|
# redirect HTTP to HTTPS
|
||||||
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-signaturepdf}_http.rule=Host(`${SIGNATUREPDF_DOMAIN:?err}`)
|
||||||
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-signaturepdf}_http.entrypoints=web
|
||||||
|
- traefik.http.middlewares.${TRAEFIK_ROUTER_NAME:-signaturepdf}_redirect_https.redirectscheme.scheme=https
|
||||||
|
- traefik.http.middlewares.${TRAEFIK_ROUTER_NAME:-signaturepdf}_redirect_https.redirectscheme.permanent=true
|
||||||
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-signaturepdf}_http.middlewares=${TRAEFIK_ROUTER_NAME:-signaturepdf}_redirect_https
|
|
@ -11,4 +11,4 @@ services:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.docker.network=${TRAEFIK_NETWORK_NAME:-traefik}
|
- traefik.docker.network=${TRAEFIK_NETWORK_NAME:-traefik}
|
||||||
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-signaturepdf}.rule=Host(`${SIGNATUREPDF_DOMAIN:?err}`)
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-signaturepdf}.rule=Host(`${SIGNATUREPDF_DOMAIN:?err}`)
|
||||||
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-signaturepdf}.entrypoints=web
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-signaturepdf}.entrypoints=${TRAEFIK_ENTRYPOINTS:-web}
|
||||||
|
|
|
@ -19,3 +19,5 @@ services:
|
||||||
PDF_STORAGE_PATH: ${PDF_STORAGE_PATH}
|
PDF_STORAGE_PATH: ${PDF_STORAGE_PATH}
|
||||||
DISABLE_ORGANIZATION: ${DISABLE_ORGANIZATION}
|
DISABLE_ORGANIZATION: ${DISABLE_ORGANIZATION}
|
||||||
PDF_DEMO_LINK: ${PDF_DEMO_LINK}
|
PDF_DEMO_LINK: ${PDF_DEMO_LINK}
|
||||||
|
DEFAULT_LANGUAGE: ${DEFAULT_LANGUAGE:-fr_FR.UTF-8}
|
||||||
|
PDF_STORAGE_ENCRYPTION: ${PDF_STORAGE_ENCRYPTION:-true}
|
||||||
|
|
Loading…
Reference in New Issue