Skip to content

degobbis/docker-lamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-lamp

docker-lamp is a powerful collection of pre-built images, containers and scripts that use docker and docker compose to automate the creation of LAMP environments with different settings.

When starting up docker-lamp it will:

  • create different docker containers
  • create different PHP environments
  • adds SSL/TLS to your local site
  • make available a phpmyadmin interface to the databases
  • deploy a local mail server with webmail functionality
  • and create databases from sql scripts from a specified folder

Requirements

MacOS

  • gnu-getopt

Install with Brew:

brew install gnu-getopt

Add to Your PATH variable:

sudo echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> ~/.bash_profile

And finally add FLAGS_GETOPT_CMD:

sudo echo 'export FLAGS_GETOPT_CMD="/usr/local/opt/gnu-getopt/bin/getopt"' >> ~/.bash_profile

Open a new terminal, or run . ~/. bash_profile in existing terminal to load changes.

Run echo $FLAGS_GETOPT_CMD to confirm it was actually set in your terminal.

Documentation

Installation: https://blog.astrid-guenther.de/ubuntu_docker-lamp/2ubuntu-git-einrichten/ The blog describes how to use the previous version (main branch) and needs to be revised for version 2.0 (branch 2.0.0-dev). In any case, the section "Possible errors - ERROR: for docker-lamp_bind Cannot start service bind" is helpful.

Main commands

Start

$ ./docker-lamp start

Stop

Shutdown and automatically create an .sql image of the databases

$ ./docker-lamp shutdown

Use browser to browse

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •