Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions references/env-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
| `PHP_XDEBUG_3` | `1` | Use Xdebug 3 |
| `NODE_VERSION` | varies | Node.js version |
| `COMPOSER_VERSION` | `2` | Composer version |
| `MYSQL_DISTRIBUTION` | `mariadb` | mariadb or mysql |
| `MYSQL_DISTRIBUTION_VERSION` | varies | Database version |
| `MYSQL_DISTRIBUTION` | `mariadb` | `mariadb` or `mysql` — switches the DB engine |
| `MYSQL_DISTRIBUTION_VERSION` | varies | Database image tag (e.g. `11.4`, `8.4`) |

## Service Toggles

Expand Down Expand Up @@ -43,3 +43,16 @@
| `RABBITMQ_VERSION` | 4.1 |
| `OPENSEARCH_VERSION` | 3.3 |
| `NODE_VERSION` | 20 |

## Database Distribution

Default is MariaDB. To switch to MySQL:

```
MYSQL_DISTRIBUTION=mysql
MYSQL_DISTRIBUTION_VERSION=8.4
```

**Drupal and CakePHP** use different variable names: `DB_DISTRIBUTION` and `DB_DISTRIBUTION_VERSION` (same values).

Switching distributions on an existing environment requires exporting data first — volumes are not compatible between MariaDB and MySQL.
Loading