HTTPS SSH

Docker LAMP Stack

This is my idea of an docker LAMP stack.

Includes

  • PHP 7.1
  • Apache2 2.4
  • MariaDB 10.3
  • Adminer 4.6.3
  • Gulp 7

Document root

All web documents are stored in folder www.

Gulp Configuration

The gulp configuration is stored in Build/gulp/config.yml


LAMP Stuff

Starting LAMP Stack

Open a console, cd to docker root folder and do:

> make start

Stopping LAMP Stack

Open a console, cd to docker root folder and do:

> make stop

Restarting LAMP Stack

Open a console, cd to docker root folder and do:

> make restart

State of LAMP Stack

Open a console, cd to docker root folder and do:

> make state


MySQL Stuff

Restore

Open a console, cd to docker root folder and do:

> make restore

There have to be an mysqldump.sql.bz2 file in Sources folder.

Backup

Open a console, cd to docker root folder and do:

> make backup

There have to be an mysqldump.sql.bz2 file in Sources folder.


Interfaces

Web root

  • http://localhost:8000

Adminer

  • http://localhost:8080

Browsersync

  • http://localhost:3000

Feel free to let me know if you are missing something!