Dockerfile now copies and sets up script.sh as startup.sh. Dockerfile-db adds a custom healthcheck script using mariadb-admin. docker-compose.yml updates service commands, healthcheck configuration, and dependency conditions. script.sh improves database readiness logic. Minor fix in migration file to remove BOM character.
		
			
				
	
	
		
			15 行
		
	
	
		
			无行尾
		
	
	
		
			368 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			15 行
		
	
	
		
			无行尾
		
	
	
		
			368 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php defined('BASEPATH') OR exit('No direct script access allowed');
 | |
| 
 | |
| class Migration_modify_eQSL_url extends CI_Migration {
 | |
| 
 | |
| 	public function up()
 | |
| 	{
 | |
| 		$sql = "UPDATE config SET eqsl_download_url = 'https://www.eqsl.cc/qslcard/DownloadInBox.cfm' WHERE id=1";
 | |
| 		$this->db->query($sql);
 | |
| 	}
 | |
| 
 | |
| 	public function down()
 | |
| 	{
 | |
| 		// Will not go back to insecure connections
 | |
| 	}
 | |
| } |