From 33252011f03e98c025b5022b888d7852f8db7c8d Mon Sep 17 00:00:00 2001 From: Roberto Dip Date: Tue, 2 Aug 2022 09:17:26 -0300 Subject: [PATCH] add instructions to change db images on local development (#6995) --- docs/Contributing/Building-Fleet.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/Contributing/Building-Fleet.md b/docs/Contributing/Building-Fleet.md index d4d146a57f..29b977840b 100644 --- a/docs/Contributing/Building-Fleet.md +++ b/docs/Contributing/Building-Fleet.md @@ -130,6 +130,10 @@ To set up a canonical development environment via Docker, run the following from docker-compose up ``` +> Note: you can customize the DB Docker image via the environment variables FLEET_MYSQL_IMAGE and FLEET_MYSQL_PLATFORM. For example: +> - To run in macOS M1, set FLEET_MYSQL_IMAGE=arm64v8/mysql:oracle FLEET_MYSQL_PLATFORM=linux/arm64/v8 +> - To test with MariaDB, set FLEET_MYSQL_IMAGE to mariadb:10.6 or the like. + #### Stopping the local development environment If you'd like to shut down the virtual infrastructure created by Docker, run the following from the root of the repository: