Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

akhomy/docker-compose-lamp

Repository files navigation

Status

Archived in favor of other tools.

Docker Compose Web stack

Based on the Docker images, built to be a fast, small, and extendable web stack.

Stack

The web stack consists of the following containers:

Container Versions Service name Image Enabled by default
PHP-FPM php-7, php-5 php-fpm [akhomy/alpine-php_fpm]
Apache latest apache2_mpm [akhomy/alpine-apache]
Nginx latest nginx [akhomy/alpine-nginx]
Node.js node:alpine node [node]
Mailhog latest mailhog [mailhog/mailhog]
NGROK latest ngrok [akhomy/alpine-ngrok]
Solr 6-alpine solr [solr]
PhpMyAdmin latest phpmyadmin [phpmyadmin/phpmyadmin]
Adminer latest adminer [adminer]
MySQL latest mysql [mysql]
PostgreSQL postgres:alpine postgres [postgres]
MongoDB latest mongo [mongo]
Redis redis:alpine redis [redis]
Memcached memcached:alpine memcached [memcached]
PHP-FPM-DATA php-7, php-5 php-fpm-data [akhomy/alpine-php_fpm]
StandaloneFirefoxDebug 2.48.2 selenium [selenium/standalone-firefox-debug]

Requirements

Install Docker and Docker Compose. This project is a part of Docker Compose Stack. If you need an access via URL, please, reffer link above and install project.

Run

Run docker-compose up -d. Run docker-compose ps to find the PHP container. To go inside php container run docker exec -it --user www-data <PHP-CONTAINER-NAME> ash. There are specific templates for docker-sync and docker-compose. See docker/docker-compose and docker/docker-sync. To use docker sync run docker-sync start. Be aware, you need correct docker-compose template and put it content into docker-compose.yaml.

Variables

You can override project settings in .env file.

Documentation

See READMEs for more details, like environment variables for images:

License

This project is licensed under the MIT open source license.