-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
58 changed files
with
805 additions
and
415 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
MAGICLAMP_VERSION=1.1 | ||
PROJECTS_DIR=./data/projects | ||
SSH_DIR=./data/ssh | ||
DEFAULT_PHP_VERSION=7.2 | ||
GIT_NAME=magicLAMP | ||
GIT_EMAIL=[email protected] | ||
PGADMIN_EMAIL=[email protected] | ||
PGADMIN_PASSWORD=magicLAMP | ||
RABBITMQ_USERNAME=magiclamp | ||
RABBITMQ_PASSWORD=magicLAMP | ||
USER_UID=1000 | ||
USER_GID=1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,30 @@ | ||
# magicLAMP | ||
|
||
[![Build](https://github.com/chrisnharvey/magicLAMP/workflows/Build/badge.svg)](https://github.com/chrisnharvey/magicLAMP/actions) | ||
[![Documentation Status](https://readthedocs.org/projects/magiclamp/badge/?version=stable)](http://magiclamp.app/en/stable/?badge=stable) | ||
[![Author](http://img.shields.io/badge/[email protected]?style=square)](https://twitter.com/chrisnharvey) | ||
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=square)](LICENSE) | ||
|
||
magicLAMP is a simple docker setup that provides a modern LEMP stack based on official upstream containers. | ||
|
||
## Goals of this project | ||
|
||
- To use the official upstream containers (where possible) with minimal modifications | ||
- To be easy to modify for your own needs | ||
- To include tools that makes development faster | ||
|
||
## Features | ||
|
||
- [x] Nginx | ||
- [x] Automatic virtual hosts | ||
- [x] PHP 5.6 - 7.4 | ||
- [x] PHP version changes per-project | ||
- [x] Workspace container with pre-installed dev tools | ||
- [x] NodeJS with multiple version support via `nvm` | ||
- [x] MySQL | ||
- [x] phpMyAdmin | ||
- [x] PostgreSQL | ||
- [x] pgAdmin4 | ||
- [x] Redis | ||
- [x] ElasticSearch | ||
- [x] Auto DNS | ||
- [x] Automatic Local SSL | ||
- [x] Catch-all email with webmail (Mailcatcher) | ||
- [x] Stripe CLI | ||
- [x] Save shell history and contents of home directory | ||
- [x] Selenium with VNC access for Chrome and Firefox | ||
- [x] Ability to change/override config files | ||
- [ ] Xdebug | ||
<p align="center"><a href="https://magiclamp.app" target="_blank" rel="noopener"><img src="https://res.cloudinary.com/chrisnharvey/image/upload/v1589481387/magicLAMP_rdth7y.svg" width="400"></a></p> | ||
|
||
<p align="center"> | ||
<a href="https://github.com/chrisnharvey/magicLAMP/actions"><img src="https://img.shields.io/github/workflow/status/chrisnharvey/magicLAMP/Build/master" alt="Build status"></a> | ||
<a href="http://magiclamp.app/en/stable/?badge=stable"><img src="https://readthedocs.org/projects/magiclamp/badge/?version=stable" alt="Documentation Status"></a> | ||
<a href="https://twitter.com/chrisnharvey"><img src="http://img.shields.io/badge/[email protected]?style=square" alt="Author"></a> | ||
<a href="https://twitter.com/chrisnharvey"><img src="https://img.shields.io/github/v/release/chrisnharvey/magicLAMP" alt="Latest version"></a> | ||
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=square" alt="License"></a> | ||
</p> | ||
|
||
## About magicLAMP | ||
|
||
magicLAMP is a full PHP development environment that works like magic! ✨ | ||
|
||
- 🤩 Run **multiple PHP versions** (5.6 - 7.4) at the same time (no more restarting, or rebuilding) | ||
- 🙌 **Automatic DNS resolution** (bye-bye `hosts` file) | ||
- 🚀 **Automatic Virtual Host creation** (forget `apache.conf` or `nginx.conf`) | ||
- 🔒 **Automatic and valid SSL certificates** (mixed content errors are a thing of the past) | ||
- 💾 Pre-configured databases that are ready to use - **MySQL** - **PostgreSQL** - **Redis** - **Memcached** | ||
- 📋 Pre-configured database management tools - **pgAdmin 4** - **phpMyAdmin** - **redis-cli** | ||
- ✉️ Catch all **SMTP mail server with webmail** for testing emails locally | ||
- 🔨 **Powerful workspace** with pre-installed dev tools | ||
- 👀 **Selenium** for Firefox and Chrome with VNC access | ||
- 🙏 Switchable versions of **NodeJS and npm** with **nvm** | ||
- 🔍 Built-in **ElasticSearch** | ||
- 🐇 Built-in **RabbitMQ** with management GUI | ||
- ✅ **So much more** | ||
|
||
## Install | ||
|
||
|
@@ -67,6 +57,8 @@ The following DNS records are resolved automatically: | |
- redis.localhost | ||
- mysql.localhost | ||
- elasticsearch.localhost | ||
- rabbitmq.localhost | ||
- memcached.localhost | ||
- phpmyadmin.localhost | ||
- postgres.localhost | ||
- pgadmin.localhost | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM jpillora/dnsmasq | ||
|
||
ADD ./config/dnsmasq.conf /etc/dnsmasq.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM jpillora/dnsmasq | ||
|
||
ADD ./config/dnsmasq.conf /etc/dnsmasq.conf |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
FROM memcached:1.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
conf/default/nginx/nginx.conf → containers/default/nginx/config/nginx.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM rabbitmq:alpine | ||
|
||
RUN rabbitmq-plugins enable --offline rabbitmq_management | ||
|
||
EXPOSE 4369 5671 5672 15671 15672 25672 |
Oops, something went wrong.