feat(mysql): add MySQL 8 Alpine compose file

- Add docker-compose.yaml with MYSQL_ROOT_PASSWORD, MYSQL_DATABASE,
  MYSQL_USER, and MYSQL_PASSWORD environment variables
- Add .env.example with documented defaults
This commit is contained in:
siujamo committed 2026-07-30 14:23:14 +08:00
1 parent f69c710d91
commit 4024f91caf
2 files changed
+52

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
# MySQL (Alpine) — environment variables
# Copy this file to .env and adjust values for your environment.
# Root password.
# The default is for local development only — always change for production.
MYSQL_ROOT_PASSWORD=mysql
# Database created automatically on first start (default: mysql).
MYSQL_DATABASE=mysql
# Additional user created automatically on first start (default: root).
MYSQL_USER=root
# Password for the additional user.
# The default is for local development only — always change for production.
MYSQL_PASSWORD=mysql