18
Docker Compose - Ubuntu LAMP Setup on Windows
This setup is only for local development, so I didn't add any security-related layers to it.
My Directory Structure for this setup was like this.
lamp/
├─ Dockerfile
├─ docker-compose.yml
├─ 000-default.conf
After setting up (copy the given files below) or download it from here. Then switch to the lamp directory and issue the following command.
docker-compose up
File Name: Dockerfile
File Name: docker-compose.yml
File Name: 000-default.conf
This file is used to enable rewriteurl feature in /var/www/html/
18