From 2d776489ab9b3cfee090f4ad6133fdda9429719c Mon Sep 17 00:00:00 2001 From: Christopher Date: Fri, 29 Nov 2024 19:45:02 -0600 Subject: [PATCH 1/2] =?UTF-8?q?=E2=9C=A8=20feat(stirling-pdf):=20Add=20Sti?= =?UTF-8?q?rling=20PDF=20service=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit introduces the Stirling PDF service configuration for the BigBearCasaOS platform. The key changes include: - Added a new `config.json` file with metadata about the Stirling PDF service, including its ID, version, image, and links. - Included a `docker-compose.yml` file that defines the Stirling PDF service, including the container image, environment variables, volume mounts, and port mappings. - Specified the CasaOS-specific configuration metadata, such as environment variables, volume mounts, and port mappings, to integrate the Stirling PDF service with the CasaOS platform. - Provided application metadata, such as architectures, description, tagline, developer, author, icon, thumbnail, title, category, and port mapping, to enable the Stirling PDF service to be listed and installed in the CasaOS app store. - Added installation instructions and documentation to guide users before installing the Stirling PDF service. These changes aim to introduce the Stirling PDF service as a new application in the BigBearCasaOS platform, providing users with a local, web-based PDF editing solution. --- Apps/stirling-pdf/config.json | 8 +++ Apps/stirling-pdf/docker-compose.yml | 87 +++++++++++++++++++++++++++ Apps/stirling-pdf/logo.png | Bin 0 -> 8860 bytes 3 files changed, 95 insertions(+) create mode 100644 Apps/stirling-pdf/config.json create mode 100644 Apps/stirling-pdf/docker-compose.yml create mode 100644 Apps/stirling-pdf/logo.png diff --git a/Apps/stirling-pdf/config.json b/Apps/stirling-pdf/config.json new file mode 100644 index 000000000..f54e6811d --- /dev/null +++ b/Apps/stirling-pdf/config.json @@ -0,0 +1,8 @@ +{ + "id": "stirling-pdf", + "version": "0.35.0", + "image": "stirlingpdf/stirlingpdf", + "youtube": "", + "docs_link": "", + "big_bear_cosmos_youtube": "" +} diff --git a/Apps/stirling-pdf/docker-compose.yml b/Apps/stirling-pdf/docker-compose.yml new file mode 100644 index 000000000..530a9c87d --- /dev/null +++ b/Apps/stirling-pdf/docker-compose.yml @@ -0,0 +1,87 @@ +# Docker Compose configuration for BigBearCasaOS Stirling PDF Service and Stirling PDF +# This service provides a web interface for managing CasaOS users and permissions +# Version: 0.0.1 + +# Name of the big-bear-stirling-pdf application +name: big-bear-stirling-pdf + +# Service definitions for the big-bear-stirling-pdf application +services: + # Main service configuration for the CasaOS User Management application + # This service provides a web interface running on port 5000 for user administration + big-bear-stirling-pdf: + # Name of the container + container_name: big-bear-stirling-pdf + + # Image to be used for the container specifies the stirling-pdf version and source + image: stirlingtools/stirling-pdf:0.35.0 + + # Container restart policy - restarts the container unless manually stopped + restart: unless-stopped + + # Environment variables for service configuration + environment: + # Set to true to download security jar (required for authentication login) + - DOCKER_ENABLE_SECURITY=false + + # Download Calibre onto Stirling-PDF to enable PDF to/from book and advanced HTML conversion + - INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false + + # Define custom font libraries to install for document conversions + - LANGS=en_US + + # Volume mappings for persistent storage and configuration + # These mounts allow the container to interact with the host system + volumes: + # Required for monitoring system resources and container metrics + - /DATA/AppData/$AppID/tessdata:/usr/share/tessdata # Required for extra OCR languages + + # Map port 8080 on the host to port 8080 on the container + ports: + - "8080:8080" + + # CasaOS-specific configuration metadata + x-casaos: + envs: + - container: "DOCKER_ENABLE_SECURITY" + description: + en_us: "Docker Enable Security" + - container: "INSTALL_BOOK_AND_ADVANCED_HTML_OPS" + description: + en_us: "Install Book and Advanced HTML Ops" + - container: "LANGS" + description: + en_us: "Languages" + volumes: + - container: "/usr/share/tessdata" + description: + en_us: "Container Path: /usr/share/tessdata" + ports: + - container: "8080" + description: + en_us: "Container Port: 8080" + +# Application metadata for CasaOS integration +# This section provides information for the CasaOS app store and installation process +x-casaos: + architectures: + - amd64 + - arm64 + main: big-bear-stirling-pdf + description: + en_us: Stirling PDF - Local hosted web based PDF editor + tagline: + en_us: Stirling PDF - Local hosted web based PDF editor + developer: "stirlingtools" + author: BigBearTechWorld + icon: "https://cdn.jsdelivr.net/gh/bigbeartechworld/big-bear-casaos/Apps/stirling-pdf/logo.png" + thumbnail: "" + title: + en_us: Stirling PDF + category: BigBearCasaOS + port_map: "8080" + # Installation instructions and documentation + tips: + before_install: + en_us: | + Read this before installing: https://community.bigbeartechworld.com/t/added-big-bear-casaos-user-management-to-bigbearcasaos/2227#p-4191-quick-start-3 diff --git a/Apps/stirling-pdf/logo.png b/Apps/stirling-pdf/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..5edc6eae26832dfa8d113dc54db899515d7c1fc2 GIT binary patch literal 8860 zcmYLu2|Sct`1W~b#@HD<*~Ttgk~PXGJ4xD9-V7-evQ&~}cnQgtwM8a`lA5w>G4`FY zZxdsu?Ac$=XFXJ&pAWou)`$##GZ0KjQsZfpkt0v;j& z3le^*$&qb@C%~^W&Zb)+8>Z)_9N9*jcsM$s-$I_I)~9zhKUd1gJe84yQ{eayY3aVHIT%cq zl7=fs%F2C^lIo<5H@6SAeIrv>{=~}4)zmaUlaY;;k=<`y-2_kJ3m!zu$vyqA(a_@Z zz}$SYjOKUJEPfBTO?`ghytABPLCO}n68qN$#lM+Br8i@{u2jNl9lV7n4vB%=eT*m ziNnjQWEq*R(TTQ%q`aG6Z)9Y0u-N|*4lC-P``y&h(@g2>7#bP)wJmTkM8E@$x=o%S^DZ#{s7M5Wx z9fLnxdxz?qDK&L1un({&jqTl?)UlSXfx5y-`1Wz-}a-X>sw`w)u|doqmI1%29Mh{*KX99nD!1)8?tg6(%-Zt zrL@Mx)!1L|>*{T3Xl4et6qnW8U+!#dX?XvsJ|w)!|3S?y zulBai?wY#Fax&#}A-svrgwUG10ny5;J#CaE6SLCn_YGgk@%jdoo`HtOj%q?!>=CW6 z1%=F`qEGtd;acT8QzA2w z`kSd5wbEC6BK=L2=AU0T*4Ru4*5%`6+x<)HY^cbpzp0}tk?S~0DtLMQyor%YLDcE2 z`+mOeV%%FBtBVuVzOV1DO3cj-wYR)}mAt*aI6Bh$-2bk}=K35V;0E^BOzX?_nV+GC z`1>W^07y(*7#p3tKQvE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`#w0{$OoAV4DTnT64JqK_reLYb|W;h*ETqJWl599HBLXu8o!VzJaEA@bFA{g0ok*3L$ZsAN2uhwph7cHkWSQ8sf?s4Xs zfl@E5@mMC z3t5TQoc@x0>e$7bpQ9*+3L#F&1AfC#a#9Zct>vpq2xYlc6Myl7#>n0e7GdMkkZZ^n z5f{{p>7{~lVOK}cv7Bz`0tf0IkUr7jg=|1;W?fJzraxkLM06=Y3?-*Q(qxK&rE29* zXUSO`6n0^l)T#kJEx&Pne1qAWN36+&d@8NQ#!%h*FW$sg6WN^w+x7T-{X}V6F|W^# z%-X!R$9ECYN~biLm3-n*EBfg1-9+1hij~~^yArl2YG zc*X`rg(vXRTxHQZk?Z(ESuuk$3tTW@>Ym`xWoVVd@M`+_-ld*mC$4KQLENG-Q z_-VM|8K1Tz>>sLyf3zS}*JEt&fO)Yayou1FO&q|Ch8fleJ8Nq2PdY{i?kEV3Jzt}m ziLfpglB3txiz~aPw)hg+d?l}Imoda>8_dtrNScS=z2C~5{VIBa<^E2CfYZvm9a|a^cpaG!uQ9J6$5vK_8b-ZC5@q+UBXxK%RbS>E!9UTjn<^ z`<EqA{<$^zDB=NoYO2vj zf76yo`4W3MNBgGGZZeABlAg(qHl)fl9+N1)rHfG5$=^Oq@GQM&6k|9}5F aJFjz2q?ldh(5nyMk6D=57=Jv05B)#XI~864 literal 0 HcmV?d00001 From 4d9484ca962a6f6e42d6306d1455fc7d1e4e8f50 Mon Sep 17 00:00:00 2001 From: Christopher Date: Fri, 29 Nov 2024 19:49:08 -0600 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=90=BB=E2=80=8D=E2=9D=84=EF=B8=8F=20f?= =?UTF-8?q?eat(stirling-pdf):=20Update=20Stirling=20PDF=20service=20config?= =?UTF-8?q?uration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update the docker-compose.yml file to provide a more accurate description of the Stirling PDF service - Update the config.json file to include a documentation link for the Stirling PDF service --- Apps/stirling-pdf/config.json | 2 +- Apps/stirling-pdf/docker-compose.yml | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Apps/stirling-pdf/config.json b/Apps/stirling-pdf/config.json index f54e6811d..2465b8a05 100644 --- a/Apps/stirling-pdf/config.json +++ b/Apps/stirling-pdf/config.json @@ -3,6 +3,6 @@ "version": "0.35.0", "image": "stirlingpdf/stirlingpdf", "youtube": "", - "docs_link": "", + "docs_link": "https://community.bigbeartechworld.com/t/added-stirling-pdf-to-bigbearcasaos/2265#p-4248-documentation-3", "big_bear_cosmos_youtube": "" } diff --git a/Apps/stirling-pdf/docker-compose.yml b/Apps/stirling-pdf/docker-compose.yml index 530a9c87d..3188b73b6 100644 --- a/Apps/stirling-pdf/docker-compose.yml +++ b/Apps/stirling-pdf/docker-compose.yml @@ -1,6 +1,5 @@ -# Docker Compose configuration for BigBearCasaOS Stirling PDF Service and Stirling PDF -# This service provides a web interface for managing CasaOS users and permissions -# Version: 0.0.1 +# Docker Compose configuration for BigBearCasaOS Stirling PDF Service +# This service provides a web interface for a Local hosted web based PDF editor # Name of the big-bear-stirling-pdf application name: big-bear-stirling-pdf @@ -77,11 +76,11 @@ x-casaos: icon: "https://cdn.jsdelivr.net/gh/bigbeartechworld/big-bear-casaos/Apps/stirling-pdf/logo.png" thumbnail: "" title: - en_us: Stirling PDF + en_us: Stirling-PDF category: BigBearCasaOS port_map: "8080" # Installation instructions and documentation tips: before_install: en_us: | - Read this before installing: https://community.bigbeartechworld.com/t/added-big-bear-casaos-user-management-to-bigbearcasaos/2227#p-4191-quick-start-3 + Read this before installing: https://community.bigbeartechworld.com/t/added-stirling-pdf-to-bigbearcasaos/2265#p-4248-documentation-3