Commit Graph

4 Commits

Author SHA1 Message Date
wonder 6652cd2b88 fix: deploy.sh uses PORT from .env exclusively, remove CLI port argument 2026-06-20 22:55:52 +08:00
wonder be7ce2a385 fix: deploy.sh reads MySQL config from .env instead of generating it
- Error out if .env is missing, instruct user to copy from .env.example
- Source .env to load MYSQL_* variables for docker compose
- Command-line port argument overrides PORT in .env
2026-06-20 22:53:48 +08:00
wonder 95519963c3 fix: update deploy.sh to generate .env with MySQL configuration
- Generate .env with random MySQL password on first deploy
- Update PORT in .env instead of modifying docker-compose.yml directly
- Wait for MySQL container healthcheck before checking app status
- Skip .env generation if file already exists
2026-06-20 22:52:27 +08:00
wonder 953c83d9aa feat: 添加一键部署脚本(国内镜像加速) 2026-06-20 17:44:48 +08:00