Simple: Docker + OctoberCMS
- official mysql:5.7 image as database (but you can change to pgsql for example),
- official php:fpm image to run PHP over FastCGI
- and the official Apache httpd image as web/proxy server.
git clone https://github.com/octobercms/october.git my-appcd my-appgit clone https://github.com/leocavalcante/Docktober.git .dockerdocker-compose -f .docker/docker-compose.yml up -d --builddocker-compose -f .docker/docker-compose.yml exec php composer install
Here you should already be seeing October's demo theme at http://<YOUR_DOCKER_MACHINE_IP>:8000.
And you can work with it as a flat-file CMS.
docker-compose -f .docker/docker-compose.yml exec php php artisan october:env- Set
.env'sDB_HOSTtodband add some value forDB_PASSWORD docker-compose -f .docker/docker-compose.yml up -d --builddocker-compose -f .docker/docker-compose.yml exec php php artisan october:up
Now you should be able to access http://<YOUR_DOCKER_MACHINE_IP>:8000/backend and enjoy full OctoberCMS.
Recommendation: rename container_name at .docker/docker-compose.yml to something meaningful.
