https://github.com/hyunk3l/how-to-dockerize-php-monolith
How to dockerize your PHP Monolith - Fabridinapoli.com
https://github.com/hyunk3l/how-to-dockerize-php-monolith
docker dockerized monolith php
Last synced: 9 months ago
JSON representation
How to dockerize your PHP Monolith - Fabridinapoli.com
- Host: GitHub
- URL: https://github.com/hyunk3l/how-to-dockerize-php-monolith
- Owner: Hyunk3l
- Created: 2018-03-16T19:44:14.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-28T21:25:39.000Z (about 8 years ago)
- Last Synced: 2025-01-24T10:47:35.988Z (over 1 year ago)
- Topics: docker, dockerized, monolith, php
- Language: PHP
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# How to dockerize your PHP Monolith
## Description
Having an old PHP Monolith and you don't know how to dockerize it?
Are you still using a virtual machine in your local environment?
Probably this [article](https://www.fabridinapoli.com/how-to-dockerize-your-php-monolith-part-one/) and this repo could help you!
## How it works
1. Add this line to your `/etc/hosts`
```
127.0.0.1 your-great-monolith.com
```
2. Run this command:
```
docker-compose up --build
```
3. Open your favourite browser and go to `your-great-monolith.com`
## Blog articles list about "How to dockerize your old php monolith"
* [How to dockerize your old PHP monolith - part one](https://www.fabridinapoli.com/how-to-dockerize-your-php-monolith-part-one/)
* [How to dockerize your old PHP monolith - part two: Nginx](https://www.fabridinapoli.com/how-to-dockerize-your-php-monolith-part-two-nginx/)
* [How to dockerize your old PHP monolith - part three: PHP-FPM](https://www.fabridinapoli.com/how-to-dockerize-your-php-monolith-part-three-php-fpm/)
* [How to dockerize your old PHP monolith - part four: Redis and Sphinx](https://www.fabridinapoli.com/how-to-dockerize-your-php-monolith-part-four-redis-sphinx/)
and more to come...