- Use
mysql/mysql-server:latestas the base formysqlDocker images since MariaDB isn't as well supported on Craft 5
- Use PHP 8.2 as the base for
spin-up-craft-baseDocker images
- Wait not just for the database to be available, but also that the
infotable has been populated before proceeding with thequeuecontainer (#2)
- Remove PHP platform version
- Clean up the
Makefileby usingdocker composeapi - Fully switch from the old
docker-composeapi to the newdocker composeapi
- Updated to
craftcms/cms^4.4.5 - Switch to
jbergstroem/mariadb-alpinefor the db container, for a much smaller image size, and a much faster startup time - Run
php craft upand display the banner message only from the queue container
- Use a unique CSRF token name, to avoid issues with CSRF validation with multiple instances of Craft running on the same host (localhost)
- Ship with empty
CRAFT_APP_ID&CRAFT_SECURITY_KEYenv vars, and generate them via therun_queue.shscript, so each instance will have unique values - Move the copying of the
.envfile to the beginning ofmake nuketo handle the case where it isn't present
- Added the
INITIAL_SERVER_PORTenv var so that we can scan for an open port, rather than just using a fixed port
- Remove the
composer.lockso people will always start with the latest - Explicitly set the
@webalias from thePRIMARY_SITE_URLenv var
- Add
spin-up-craft-base-devimage that includes XDebug
- Remove any
.from container names, because Docker strips them when creating containers
- Run
php craft upwith--interactive=0so it's not waiting for user input
- Added
stop_grace_period: "1s"to the services that have long-running processes in thedocker-compose.yaml - Add dummy empty values for Codespaces in the Makefile, to avoid warnings from Docker
- Updated to
"craftcms/cms": "^4.3.10"
- Use the
GITHUB_CODESPACES_PORT_FORWARDING_DOMAINenv var - Use
env_file&envaliases in the docker-compose.yaml
- Detect when we're running in Codespaces, and swap in the dynamic URL for the
PRIMARY_SITE_URLenv var automatically
- Refactor the banner to a separate
banner_message.sh
- Add PHP 8.1 as the default image
- Use
#!/bin/shfor the scripts shebang - Updated to
"craftcms/cms": "^4.3.8"
- Added
nystudio107/craft-autocompleteto allow for Craft API autocomplete in PhpStorm
- Updated to
"craftcms/cms": "^4.3.7.1" - Removed
craftcms/generatorto lighten the dependency graph - Removed
yiisoft/yii2-shellto lighten the dependency graph - Use
PHPIZE_DEPSinspin-up-craft-baseDocker image
- Build docker images via Github Actions CI
- Use a pre-built
spin-up-craft-basefor faster cold starts - Removed vestigial
rediscontainer for faster cold starts
- Fixed an issue with the default database seed and the
make db-admin-resethad the wrong password
- Initial release
Brought to you by nystudio107