diff --git a/lemon/README.md b/lemon/README.md index b06fa51..c66cc9b 100644 --- a/lemon/README.md +++ b/lemon/README.md @@ -105,7 +105,7 @@ The launcher: 1. Verifies that uv and Docker are available. 2. Creates `.env` from `.env.example` if it is missing. 3. Syncs `lemon/.venv` against `pyproject.toml`. -4. Starts the MySQL 8.4 LTS container and waits for it to become healthy. +4. Starts the MySQL 9.7 LTS container and waits for it to become healthy. 5. Applies Django database migrations. 6. Loads sample categories, cuisines, and meals when the meal table is empty. 7. Starts the Django development server. diff --git a/lemon/compose.yaml b/lemon/compose.yaml index 68debbf..8cce5c3 100644 --- a/lemon/compose.yaml +++ b/lemon/compose.yaml @@ -1,6 +1,8 @@ services: mysql: - image: mysql:8.4 + # The current LTS line. An existing 8.4 data volume upgrades in place on the + # first start; MySQL cannot downgrade it back to 8.4 afterwards. + image: mysql:9.7 environment: MYSQL_DATABASE: ${MYSQL_DATABASE:-lemon} MYSQL_PASSWORD: ${MYSQL_PASSWORD:-mysql_fid}