- PHP
- NGINX
- MariaDB
- Redis
- Redis-commander
- Adminer
- Backup DB
Install Docker
- (MacOS use Docker for mac)
- (Window 10 pro use Docker for window)
- (Window 10 Home use Docker toolbox)
$ git clone https://github.com/ninediy/lemp-docker.git
$ cd lemp-docker
$ docker-compose up -d
- stop docker-compose
$ docker-compose down
- restart service docker-compose
$ docker-compose restart
- backup database
$ cd lemp-stack $ sh mysql/backup.sh