personal / tool / archived
dockerphish
A Docker base image bundling Nginx and PHP 7 with a GitHub pull-and-deploy hook, used for my Tipsy-based PHP apps.
- BPM
- 172
- GRADE
- B
- LEVEL
- 7
- RELEASES
- 0
- YEARS
- 2015–2015
Nginx, PHP7, A Pull Hook
In November 2015 I built the Docker base image I actually needed and gave it a silly name: Dockerphish. Nginx and PHP 7 in one container, an nginx.conf, a run script, and a hook that pulls from GitHub and deploys.
It was there so my Tipsy apps had one consistent place to land. Tipsy was my PHP microframework back then, and I had a handful of small apps on the same stack.
I spent about seven weeks fixing little things: permissions, paths, php.ini settings, and times the container came up but the pull hook didn't. PHP 7 was brand new, and the same day I started this I also had to fix mcrypt in a separate project.