- Use PHP 8.2 as the base for
spin-up-craft-base
Docker images
- Wait not just for the database to be available, but also that the
info
table has been populated before proceeding with thequeue
container (#2)
- Remove PHP platform version
- Clean up the
Makefile
by usingdocker compose
api - Fully switch from the old
docker-compose
api to the newdocker compose
api
- Updated to
craftcms/cms
^4.4.5
- Switch to
jbergstroem/mariadb-alpine
for the db container, for a much smaller image size, and a much faster startup time - Run
php craft up
and 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_KEY
env vars, and generate them via therun_queue.sh
script, so each instance will have unique values - Move the copying of the
.env
file to the beginning ofmake nuke
to handle the case where it isn't present
- Added the
INITIAL_SERVER_PORT
env var so that we can scan for an open port, rather than just using a fixed port
- Remove the
composer.lock
so people will always start with the latest - Explicitly set the
@web
alias from thePRIMARY_SITE_URL
env var
- Add
spin-up-craft-base-dev
image that includes XDebug
- Remove any
.
from container names, because Docker strips them when creating containers
- Run
php craft up
with--interactive=0
so 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_DOMAIN
env var - Use
env_file
&env
aliases in the docker-compose.yaml
- Detect when we're running in Codespaces, and swap in the dynamic URL for the
PRIMARY_SITE_URL
env var automatically
- Refactor the banner to a separate
banner_message.sh
- Add PHP 8.1 as the default image
- Use
#!/bin/sh
for the scripts shebang - Updated to
"craftcms/cms": "^4.3.8"
- Added
nystudio107/craft-autocomplete
to allow for Craft API autocomplete in PhpStorm
- Updated to
"craftcms/cms": "^4.3.7.1"
- Removed
craftcms/generator
to lighten the dependency graph - Removed
yiisoft/yii2-shell
to lighten the dependency graph - Use
PHPIZE_DEPS
inspin-up-craft-base
Docker image
- Build docker images via Github Actions CI
- Use a pre-built
spin-up-craft-base
for faster cold starts - Removed vestigial
redis
container for faster cold starts
- Fixed an issue with the default database seed and the
make db-admin-reset
had the wrong password
- Initial release
Brought to you by nystudio107