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 the distro-default PHP 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=master \
DEPLOY_PATH=/var/www/warehouse \
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 nginxsystemctl list-units --type=service | grep php.*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.