Sign inSign up

vrestihnat/php-fpm-rpi-zero

By vrestihnat

•Updated over 5 years ago

PHP-FPM for Raspberry PI zero

Image
0

1.2K

vrestihnat/php-fpm-rpi-zero repository overview

⁠Docker nginx-php stack for the Raspberry pi zero

Docker

⁠Prerequisites

  • unix like OS armv6 (raspbian, dietPi, armbian, ubuntu, ...)
  • docker for armv6
  • docker-compose

⁠Install Prereq

⁠unix like OS

see https://en.wikipedia.org/wiki/Raspberry_Pi_OS#Linux_distributions⁠

⁠docker

# apt install -y lsb-release
# curl -sSL https://get.docker.com | sh

⁠docker-compose

# apt install -y python3-dev python3-pip python3-setuptools libffi-dev
# pip3 install wheel
# pip3 install docker-compose

⁠Run container

⁠run

# docker-compose up

⁠run on background

# docker-compose up -d

⁠run container with mysql support

# docker-compose -f docker-compose.yml -f docker-compose-mysql.yml up

⁠run container with pgsql support

# docker-compose -f docker-compose.yml -f docker-compose-pgsql.yml up

⁠Stop container

⁠stop

# docker-compose stop

⁠stop and remove

# docker-compose down

⁠Test

http://127.0.0.1⁠

Tag summary

Content type

Image

Digest

Size

28.1 MB

Last updated

over 5 years ago

docker pull vrestihnat/php-fpm-rpi-zero