Skip to content

rm-yakovenko/docker-nginx-php-mysql

Repository files navigation

Docker Nginx Php Mysql

Ready to run docker containers for php development.

Getting started

  1. Copy .env.dist to .env.
  2. Configure .env if you need.
  3. Copy .env, docker, docker-compose.dev.yml and docker-compose.yml to your app's root folder.
  4. Enable dev mode ln -sr docker-compose.dev.yml docker-compose.override.yml.
  5. Run docker-compose up -d.
  6. Open in your browser http://localhost:8080/ to access the app.

Useful tips

Running composer install

docker/console composer install

Get into the container

docker/console bash