feat: add README

This commit is contained in:
Sun-ZhenXing
2025-09-24 14:16:10 +08:00
parent 232517b58f
commit 70f39867cf
65 changed files with 1695 additions and 103 deletions

View File

@@ -0,0 +1,21 @@
# MySQL
[English](./README.md) | [中文](./README.zh.md)
This service deploys a MySQL database.
## Services
- `mysql`: The MySQL database service.
## Configuration
- `MYSQL_VERSION`: The version of the MySQL image, default is `9.4.0`.
- `MYSQL_PORT_OVERRIDE`: The host port for MySQL, default is `3306`.
- `MYSQL_ROOT_PASSWORD`: The root password, default is `password`.
- `MYSQL_ROOT_HOST`: The root host, default is `%`.
## Volumes
- `mysql_data`: A volume for storing MySQL data.
- `init.sql`: Optional initialization script (mount to `/docker-entrypoint-initdb.d/init.sql`).