把环境打成镜像,换服务器只是 docker compose up。
version: "3" services: php: image: php:8.2-fpm mysql: image: mysql:8