The is Docker images list used for development environment:
- Mysql 8.4.6
- Redis 8.2.1
- RabbitMQ 4.1.4 with rabbitmq-delayed-message-exchange
- Rename
.env.example
to.env
- Edit
.env
to meet your needs - Run
make start
Before updating Production MySQL version, it must be updated and tested locally. Production and local versions and configs must be always the same. MySQL image must be saved in GitHub packages in case of global deprecation.
docker pull mysql:8.4.6
- pull preferred version of MySQLdocker tag mysql:8.4.6 ghcr.io/php-not-dead/mysql:8.4.6
- createghcr.io/php-not-dead
for new versiondocker push ghcr.io/php-not-dead/mysql:8.4.6
- Replace
docker-compose.yml
lineimage: ghcr.io/php-not-dead/mysql:8.4.5
with proper versionimage: ghcr.io/php-not-dead/mysql:8.4.6
make stop
make db-restore
- will TRUNCATE all schemas and datamake start
All historical MySQL images are stored here: https://github.com/php-not-dead/dockerfiles/pkgs/container/mysql
- Update
.build/mysql/init.sql
- add/remove database and grant all permissions to new schema make stop
make db-restore
- will TRUNCATE all schemas and datamake start
- will create new list of schemas- All truncate schemas should be filled with data by API migrations and seeds
Before updating Production Redis version, it must be updated and tested locally. Production and local versions and configs must be always the same. Redis image must be saved in GitHub packages in case of global deprecation.
docker pull redis:8.2.1
- pull preferred version of Redisdocker tag redis:8.2.1 ghcr.io/php-not-dead/redis:8.2.1
- createghcr.io/php-not-dead
for new versiondocker push ghcr.io/php-not-dead/redis:8.2.1
- Replace
docker-compose.yml
lineimage: ghcr.io/php-not-dead/redis:8.2.0
with proper versionimage: ghcr.io/php-not-dead/redis:8.2.1
make stop
make start
All historical MySQL images are stored here: https://github.com/php-not-dead/dockerfiles/pkgs/container/redis
Before updating Production RabbitMQ version, it must be updated and tested locally. Production and local versions and configs must be always the same. RabbitMQ image must be saved in GitHub packages in case of global deprecation.
docker pull rabbitmq:4.1.4
- pull preferred version of RabbitMQdocker tag rabbitmq:4.1.4-management ghcr.io/php-not-dead/rabbitmq:4.1.4
- createghcr.io/php-not-dead
for new versiondocker push ghcr.io/php-not-dead/rabbitmq:4.1.4
- Replace
docker-compose.yml
lineimage: ghcr.io/php-not-dead/rabbitmq:4.1.3
with proper versionimage: ghcr.io/php-not-dead/rabbitmq:4.1.4
- Download proper
rabbitmq-delayed-message-exchange
version from https://github.com/rabbitmq/rabbitmq-delayed-message-exchange/releases - Replace
docker-compose.yml
rabbitmq.volumes
plugin file - Update
./.build/rabbitmq/definitions.json
versions - Ensure, that
.build/rabbitmq/enabled_plugins
match production> rabbitmq-plugins list
enabled plugins list make stop
make start
- Update
.build/rabbitmq/definitions.json
- add/remove vhost tovhosts
andpermissions
make stop
make start