build(docker): optimize image size and security

- add mysql client binaries for database operations
- reduce php extensions to production essentials
- bind mysql and phpmyadmin to localhost only
- replace php-fpm.conf with php.ini for upload limits
This commit is contained in:
2026-03-21 03:39:34 +03:00
parent 7b6ed48812
commit 280e8354f1
4 changed files with 18 additions and 9 deletions

2
docker/php.ini Normal file
View File

@@ -0,0 +1,2 @@
post_max_size = 20M
upload_max_filesize = 20M