3 ms·
If I was using PHP, I wouldn't use containers either. Just sync the latest code over, change a sym link to the new build, done.
by icedchai 7y ago
If I was using PHP, I wouldn't use containers either. Just sync the latest code over, change a sym link to the new build, done.
- 1f97 7y agocapistrano is perfect for that. we use it for all our deployment needs and it has been wonderful!
- mcpeepants 7y agosecond this. I haven't needed cap in a while for the work I'm doing, and I don't often see it mentioned (perhaps because I'm not looking) but it's a fantastic tool for managing atomic deployment.
- conradfr 7y agoThat seems a little bit simplistic for today's workflow as there's chances you'll need to to restart php-fpm anyway, discard/refresh some cache (Doctrine metadada ...), maybe update your composer / vendor directory and its autoloading files, maybe run db migrations and more.