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.exampleto.env - Edit
.envto 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/elph-studio/mysql:8.4.6- createghcr.io/elph-studiofor new versiondocker push ghcr.io/elph-studio/mysql:8.4.6- Update
.envand.env.examplevariableMYSQL_VERSIONwith proper version make stopmake db-restore- will TRUNCATE all schemas and data, rebuild init.sqlmake startAll historical MySQL images are stored here: https://github.com/php-not-dead/dockerfiles/pkgs/container/mysql
- Update
.envfileDB_SCHEMASlist - add/remove database make stopmake 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/elph-studio/redis:8.2.1- createghcr.io/elph-studiofor new versiondocker push ghcr.io/elph-studio/redis:8.2.1- Replace
docker-compose.ymllineimage: ghcr.io/elph-studio/redis:8.2.0with proper versionimage: ghcr.io/elph-studio/redis:8.2.1 make stopmake startAll 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/elph-studio/rabbitmq:4.1.4- createghcr.io/elph-studiofor new versiondocker push ghcr.io/elph-studio/rabbitmq:4.1.4- Replace
docker-compose.ymllineimage: ghcr.io/elph-studio/rabbitmq:4.1.3with proper versionimage: ghcr.io/elph-studio/rabbitmq:4.1.4 - Download proper
rabbitmq-delayed-message-exchangeversion from https://github.com/rabbitmq/rabbitmq-delayed-message-exchange/releases - Replace
docker-compose.ymlrabbitmq.volumesplugin file - Update
./.build/rabbitmq/definitions.jsonversions - Ensure, that
.build/rabbitmq/enabled_pluginsmatch production> rabbitmq-plugins listenabled plugins list make stopmake start
- Update
.envfileRABBITMQ_VHOSTSlist - add/remove vhosts make stopmake start