Skip to content

A simple LAMP (Linux Alpine, Apache 2, MariaDB 10.4, PHP 8.0) using Docker containers

License

Notifications You must be signed in to change notification settings

leoshtika/docker-lamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-lamp

A simple LAMP (Linux, Apache, MySQL/MariaDB, PHP) using Docker containers. The master branch has the latest supported versions. Select a different branch for older versions of PHP.

Usage

  1. Make sure you have installed Git. Then,
  1. Configure environment variables in Docker Compose
cp .env.sample .env
# For Unix-like machines (Linux and Mac)
id -u # If the result is different from 1000, replace the UID value in the .env file
id -g # If the result is different from 1000, replace the GID value in the .env file
  1. Build and run all containers
docker compose build
docker compose up -d
  1. Test

Enjoy!

About

A simple LAMP (Linux Alpine, Apache 2, MariaDB 10.4, PHP 8.0) using Docker containers

Resources

License

Stars

Watchers

Forks

Packages

No packages published