This app can run directly on a Raspberry Pi with nginx + php-fpm instead of Docker.
scripts/deploy-raspi.sh runs from your local machine and connects over SSH to the Pi. On the Pi it will:
nginx, git, composer, and PHP 8.2 packages.envpublic/systemd service for php command.php queue:workaptsudo/var/www/warehouseFrom this repo on your local machine:
chmod +x scripts/deploy-raspi.sh
scripts/deploy-raspi.sh pi raspberrypi.local git@github.com:YOUR_USER/warehouse.git DietPi.ntp.kentcommunications.com
Arguments:
pi192.168.1.50server_name value, optional, defaults to DietPi.ntp.kentcommunications.comDEPLOY_REF=main \
DEPLOY_PATH=/var/www/warehouse \
PHP_VERSION=8.2 \
scripts/deploy-raspi.sh pi raspberrypi.local git@github.com:YOUR_USER/warehouse.git DietPi.ntp.kentcommunications.com
http://DietPi.ntp.kentcommunications.comsudo systemctl status nginxsudo systemctl status php8.2-fpmsudo systemctl status warehouse-queue.servicepublic/, so the nginx root must stay pointed therecertbot or another reverse-proxy setup if you want HTTPS.env and the script before rerunning itPowered by TurnKey Linux.