项目作者: bahyusanciko

项目描述 :
Docker Lamp
高级语言: Dockerfile
项目地址: git://github.com/bahyusanciko/docker-lamp.git
创建时间: 2020-09-08T05:53:16Z
项目社区:https://github.com/bahyusanciko/docker-lamp

开源协议:The Unlicense

下载


docker-lamp

Docker example with Apache, MySql, PhpMyAdmin and PHP

  • You can use MariaDB if you checkout to the tag mariadb:{version}
  • You can use MySql if you checkout to the tag mysql:{version}
  • You change version PHP if you checkout to the tag php:{version}-apache

I use docker-compose as an orchestrator. To run these containers:

  1. docker-compose up --build -d

Open phpmyadmin at http://localhost:8088
Open web browser to look at a simple php example at http://localhost:80

Run mysql/mariadb client:

  • docker-compose exec db mysql -u root -p

Enjoy !