Skip to content

A few basic docker containers for web development with PHP 7.3, MySQL 5.7 & NGINX 1.15

Notifications You must be signed in to change notification settings

wouterds/docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Docker web development environment

A few basic docker containers for little projects & tests.

Requirements

  • This repo assumes you store your projects in ~/Projects
  • Docker is installed
  • Docker Compose is installed

Services

  • PHP-FPM 7.3
  • MySQL 5.7
  • NGINX 1.15

Accessing services

We're exposing NGINX and MySQL their ports, so you can just go to http://127.0.0.1/ or http://localhost/ from your browser and connect to MySQL from your client (eg: Sequel Pro) using 127.0.0.1:3306 or localhost:3306.

To access MySQL from within your web applications you'll need to use mysql as host.

Default MySQL credentials:

  • Username: docker
  • Password: docker
  • Database: docker

Installation / run

docker-compose up

About

A few basic docker containers for web development with PHP 7.3, MySQL 5.7 & NGINX 1.15

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •