Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chicongst/docker-lamp
https://github.com/chicongst/docker-lamp
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chicongst/docker-lamp
- Owner: chicongst
- Created: 2020-07-27T16:19:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-29T15:27:48.000Z (over 4 years ago)
- Last Synced: 2023-11-27T15:37:21.315Z (about 1 year ago)
- Language: Dockerfile
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# LAMP Docker
Basic docker for LAMP | Linux Apche Mysql PHP
### Prerequisities
In order to run this container you'll need docker installed.
* [Windows](https://docs.docker.com/windows/started)
* [OS X](https://docs.docker.com/mac/started/)
* [Linux](https://docs.docker.com/linux/started/)#### Step
```shell
git clone https://github.com/chicongst/lamp_docker_base.git
cd lamp_docker_base
cp .env.example .env
sudo docker-compose up --build
```
#### Access to container
```shell
# Access to server
sudo docker-compose exec server /bin/bash
# Access to database
sudo docker-compose exec mysql /bin/bash
```