- I use Fedora Kinoite which has Podman pre-installed
- These Quadlets have been tested on Fedora Kinoite 39 with Podman 4.9.4
- Fedora uses SELinux, hence I use :Z flag for Podman's volumes. This flag will not work without SELinux
- Create folders for Quadlets
mkdir -p ~/.config/containers/systemd/{chatgpt-web,stirling-pdf}
- Create folders for app data
mkdir -p ~/podman/appdata/chatgpt-web/app
mkdir -p ~/podman/appdata/stirling-pdf/{tessdata,logs}
- Quadlets are available in Podman 4.4+. See release notes. Check the version of Podman with:
podman version
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
- 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
- Place the Tesseract files into
~/podman/appdata/stirling-pdf/tessdata
.
mv ~/Downloads/fin.traineddata ~/podman/appdata/stirling-pdf/tessdata
- Clone this repo
cd /tmp
git clone [email protected]:artur-sannikov/local-quadlets.git
- Move Quadlet files to
~/.config/containers/systemd
cd local-quadlets
mv chatgpt-web/ ~/.config/containers/systemd
mv stirling-pdf/ ~/.config/containers/systemd
- Reload daemon
systemctl --user daemon-reload
- Start containers
systemctl --user start chatgpt-web.service
systemctl --user start stirling-pdf.service
-
Check if services are running
- Go to
localhost:5173
to access ChatGPT Web-UI - Go to
localhost:8080
to access Stirling PDF
- Go to