Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/basemax/composedockernginxlaravelphpmyadmin
A ready to use Docker Compose configuration for a LEMP stack (Nginx, PHP, Laravel, MariaDB, and PHPMyAdmin).
https://github.com/basemax/composedockernginxlaravelphpmyadmin
docker docker-compose docker-container docker-image dockerfile laravel lemp lemp-automation lemp-deployer lemp-docker lemp-environment lemp-installer lemp-server lemp-stack mariadb mysql php phpmyadmin
Last synced: about 22 hours ago
JSON representation
A ready to use Docker Compose configuration for a LEMP stack (Nginx, PHP, Laravel, MariaDB, and PHPMyAdmin).
- Host: GitHub
- URL: https://github.com/basemax/composedockernginxlaravelphpmyadmin
- Owner: BaseMax
- License: gpl-3.0
- Created: 2022-11-25T08:59:06.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-10T01:27:48.000Z (2 months ago)
- Last Synced: 2025-02-04T07:15:37.312Z (6 days ago)
- Topics: docker, docker-compose, docker-container, docker-image, dockerfile, laravel, lemp, lemp-automation, lemp-deployer, lemp-docker, lemp-environment, lemp-installer, lemp-server, lemp-stack, mariadb, mysql, php, phpmyadmin
- Language: PHP
- Homepage:
- Size: 20.1 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Compose Nginx PHP Laravel MariaDB (LEMP stack)
A ready to use Docker Compose configuration for a LEMP stack (Nginx, PHP, Laravel, MariaDB, and PHPMyAdmin).
![Laravel image](images/laravel.png)
## Requirements
- Docker
- Docker Compose## Usage
- Clone this repository
- Run `docker-compose up -d`
- Open `http://localhost:80` in your browser for Nginx
- Open `http://localhost:8080` in your browser for PHPMyAdmin## Config files
- `./nginx/default.conf:/etc/nginx/conf.d/default.conf`
- `./php/local.ini:/usr/local/etc/php/conf.d/local.ini`
- `./mysql:/etc/mysql/conf.d`## Usefull commands for Update and clear database
```console
php artisan migrate
php artisan config:clear
php artisan cache:clear
```