Deploy customized stirling-pdf and fix reverse proxy
Use "network_mode: host" to make the reverse proxy work.
This commit is contained in:
@@ -5,9 +5,7 @@
|
||||
services:
|
||||
caddy:
|
||||
image: caddy
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
network_mode: host
|
||||
volumes:
|
||||
- "./Caddyfile:/etc/caddy/Caddyfile:ro"
|
||||
- "/ansible_docker_compose/project_data/reverse-proxy/caddy/data:/data"
|
||||
|
||||
23
docker_compose_applications/stirling-pdf/compose.yaml
Normal file
23
docker_compose_applications/stirling-pdf/compose.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
# Links & Resources
|
||||
# - https://stirlingtools.com/
|
||||
# - https://github.com/Stirling-Tools/Stirling-PDF
|
||||
# - https://stirlingtools.com/docs/Overview/What%20is%20Stirling-PDF
|
||||
# - https://github.com/Stirling-Tools/Stirling-PDF/blob/main/exampleYmlFiles/docker-compose-latest-lite.yml
|
||||
# - https://github.com/Stirling-Tools/Stirling-PDF/blob/main/exampleYmlFiles/docker-compose-latest-lite-security.yml
|
||||
|
||||
services:
|
||||
stirling-pdf:
|
||||
image: frooodle/s-pdf:latest-lite
|
||||
ports:
|
||||
- "8080:8080"
|
||||
volumes:
|
||||
- "./customFiles/static/:/customFiles/static/:ro"
|
||||
- "/ansible_docker_compose/project_data/stirling-pdf/logs/:/logs/:rw"
|
||||
environment:
|
||||
DOCKER_ENABLE_SECURITY: "false"
|
||||
SECURITY_ENABLE_LOGIN: "false"
|
||||
SYSTEM_DEFAULT_LOCALE: de-DE
|
||||
SYSTEM_GOOGLEVISIBILITY: "false"
|
||||
UI_APPNAME: "consider it PDF"
|
||||
UI_HOMEDESCRIPTION: "Impressum: https://consider-it.de/impressum/"
|
||||
METRICS_ENABLED: "false"
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="284px" height="284px" viewBox="0 0 284 284" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>c/it</title>
|
||||
<desc>Logo as icon displaying "c/it" in a dark blue tone. Copyright 2019 consider it GmbH</desc>
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="Icon" transform="translate(-100.000000, -100.000000)" fill="#09445a">
|
||||
<g id="group" transform="translate(100.000000, 100.000000)">
|
||||
<path d="M161.306758,19.665117 L98.2765391,239.477611 L0.798928091,142 L142.220284,0.578643763 L161.306758,19.665117 Z M169.795728,28.1540878 L283.641641,142 L142.220284,283.421356 L106.76551,247.966582 L169.795728,28.1540878 Z M163.040284,213 L163.040284,147.48 L153.920284,147.48 L153.920284,213 L163.040284,213 Z M165.680284,127.2 L158.480284,120.12 L151.520284,127.2 L158.480284,134.4 L165.680284,127.2 Z M202.640284,211.44 L201.320284,203.64 C199.400284,204.6 195.680284,205.44 192.920284,205.44 C187.040284,205.44 185.000284,203.04 185.000284,194.76 L185.000284,155.52 L199.520284,155.52 L199.520284,147.48 L185.000284,147.48 L185.000284,134.04 L176.120284,134.04 L176.120284,147.48 L169.160284,147.48 L169.160284,155.52 L176.120284,155.52 L176.120284,194.28 C176.120284,211.8 182.120284,213.72 192.920284,213.72 C196.160284,213.72 200.000284,212.64 202.640284,211.44 Z M115.677572,136.56 L114.717572,128.64 C111.477572,129.36 107.997572,130.44 104.397572,130.44 C92.0375719,130.44 88.0775719,121.92 88.0775719,104.88 C88.0775719,88.92 93.7175719,79.44 101.637572,79.44 C106.557572,79.44 109.917572,81.12 113.517572,83.16 L115.917572,75.24 C112.677572,72.96 108.357572,71.04 101.757572,71.04 C87.3575719,71.04 78.9575719,84.48 78.9575719,105.24 C78.9575719,128.64 86.2775719,139.08 103.677572,139.08 C108.717572,139.08 113.157572,137.64 115.677572,136.56 Z" id="cshape"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -1,3 +1,5 @@
|
||||
docker_compose__projects:
|
||||
- name: reverse-proxy
|
||||
files_directory: ../docker_compose_applications/reverse-proxy
|
||||
- name: stirling-pdf
|
||||
files_directory: ../docker_compose_applications/stirling-pdf
|
||||
|
||||
Reference in New Issue
Block a user