Skip to content

Latest commit

 

History

History
59 lines (49 loc) · 1.72 KB

README.md

File metadata and controls

59 lines (49 loc) · 1.72 KB

Nginx PHP MySQL Docker containers running on RaspberryPi (ARMv6l based devices)

Docker images specifically for RaspberryPi (ARMv6l devices like RaspberryPi zero w

Nginx, MySQL and PHP-FPM Docker containers for ARMv6l based machines (for example Raspberypi zero w )

Prerequisites

-> Docker & Docker Compose installation in RaspberryPi -> Compose file version 3 reference

Images

Project tree

.
├── .env
├── README.md
├── data
│   └── db
│       ├── dumps
│       └── mysql
├── docker-compose.yml
├── dockeretc
|   ├── mysql
|   |   └── debian.conf
│   ├── nginx
│   │   ├── http.conf
│   │   ├── proxy.conf
│   │   ├── wordpress.conf (*PS: for WordPress projects)
│   │   ├── fastcgi.inc
│   │   └── nginx.conf
│   ├── php
│   │   └── php.ini
└── web

Run the application:

sudo docker-compose up -d

This might take some time as docker needs to pull images and build them

View logs

 sudo docker-compose logs

Stopping containers and removing services along with mounted volumes

  sudo docker-compose down -v