inveteratus / php-docker-stack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP-Docker-Stack

A simple docker stack for PHP with MySQL, Redis, Nginx and Adminer.

Installation

mkdir <app>
cd <app>

git clone https://github.com/inveteratus/php-docker-stack.git .
cp env.example .env
composer install

Now edit .env to suit.

  • APP_NAME needs to be a single word or kebab-case name.
  • DB_DATABASE is up to you, and will be created as the stack is created
  • DB_USERNAME is up to you, and will be created as the stack is created
  • DB_PASSWORD is up to you.

About


Languages

Language:Dockerfile 82.6%Language:PHP 17.4%