Skip to content

Docker Compose based LAMP stack. PHP, Apache, Mysql and phpmyadmin

Notifications You must be signed in to change notification settings

caballero03/basic_lamp_stack

Repository files navigation

basic_lamp_stack

How to install:

Step 1) Run this in the root folder of this project:

docker run --rm --interactive --tty \
    --volume $PWD:/app \
    --user $(id -u):$(id -g) \
    composer update --ignore-platform-reqs --no-scripts

Step 2) Copy the file sample.env to another file called .env

Step 3) Edit .env file to suit your project

Step 4) Run:

docker-compose up --build -d

Step 5) Visit: http://localhost:8080 for webserver index page

also, visit: http://localhost:8081 for PHPMyAdmin DB tool

Subsequent operation

To remove running containers: Run:

docker-compose down

To re-run without building:

docker-compose up -d

About

Docker Compose based LAMP stack. PHP, Apache, Mysql and phpmyadmin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published