Skip to content

artur-sannikov/local-quadlets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Quadlets

Important notes

  1. I use Fedora Kinoite which has Podman pre-installed
  2. These Quadlets have been tested on Fedora Kinoite 39 with Podman 4.9.4
  3. Fedora uses SELinux, hence I use :Z flag for Podman's volumes. This flag will not work without SELinux

Preparation

  1. Create folders for Quadlets
mkdir -p ~/.config/containers/systemd/{chatgpt-web,stirling-pdf}
  1. Create folders for app data
mkdir -p ~/podman/appdata/chatgpt-web/app
mkdir -p ~/podman/appdata/stirling-pdf/{tessdata,logs}
  1. Quadlets are available in Podman 4.4+. See release notes. Check the version of Podman with:
podman version

chatgpt-web

Build container with a Dockerfile from this Niek van der Maas' repo.

cd /tmp
git clone [email protected]:Niek/chatgpt-web.git
cd chatgpt-web
podman build . -t chatgpt-web

stirling-pdf

  1. Download the required Tesseract files from tessdata_fast (for fast OCR) or tessdata (for more accurate and slower OCR). For example,
cd ~/Downloads
wget https://github.com/tesseract-ocr/tessdata/raw/main/fin.traineddata
  1. Place the Tesseract files into ~/podman/appdata/stirling-pdf/tessdata.
mv ~/Downloads/fin.traineddata ~/podman/appdata/stirling-pdf/tessdata

Activate Quadlets

  1. Clone this repo
cd /tmp
git clone [email protected]:artur-sannikov/local-quadlets.git
  1. Move Quadlet files to ~/.config/containers/systemd
cd local-quadlets

mv chatgpt-web/ ~/.config/containers/systemd
mv stirling-pdf/ ~/.config/containers/systemd
  1. Reload daemon
systemctl --user daemon-reload
  1. Start containers
systemctl --user start chatgpt-web.service
systemctl --user start stirling-pdf.service
  1. Check if services are running

    1. Go to localhost:5173 to access ChatGPT Web-UI
    2. Go to localhost:8080 to access Stirling PDF

About

Podman Quadlets I use on local computers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published