boryashkin / lamp-template

Template for nginx, php-fpm, cli-php and mysql stack in docker-compose app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LAMP docker-compose app template

  • Nginx
  • PHP-FPM
  • cli PHP
  • MySQL

Steps

  • create .env by copying .env.dist and replacing some values
    • cp .env.dist .env
  • add some .sql's to /data/init/mysql/ to make mysql initializations while it starting
  • docker-compose up to warm a setup up
  • test if web-app works: http://localhost:9882/ *if so, restart the project as docker-compose -d if needed

About

Template for nginx, php-fpm, cli-php and mysql stack in docker-compose app


Languages

Language:PHP 91.8%Language:Dockerfile 8.2%