mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	fix(komodo): update GitHub URL for compose files (#3823)
This commit is contained in:
		@@ -47,7 +47,7 @@ function update_script() {
 | 
				
			|||||||
        exit 1
 | 
					        exit 1
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    GITHUB_URL="https://raw.githubusercontent.com/mbecker20/komodo/main/compose/${COMPOSE_FILE}"
 | 
					    GITHUB_URL="https://raw.githubusercontent.com/moghtech/komodo/main/compose/${COMPOSE_FILE}"
 | 
				
			||||||
    if ! curl -fsSL "$GITHUB_URL" -o "/opt/komodo/${COMPOSE_FILE}"; then
 | 
					    if ! curl -fsSL "$GITHUB_URL" -o "/opt/komodo/${COMPOSE_FILE}"; then
 | 
				
			||||||
        msg_error "Failed to download ${COMPOSE_FILE} from GitHub!"
 | 
					        msg_error "Failed to download ${COMPOSE_FILE} from GitHub!"
 | 
				
			||||||
        mv "/opt/komodo/${BACKUP_FILE}" "/opt/komodo/${COMPOSE_FILE}"
 | 
					        mv "/opt/komodo/${BACKUP_FILE}" "/opt/komodo/${COMPOSE_FILE}"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -61,10 +61,10 @@ case $DB_CHOICE in
 | 
				
			|||||||
esac
 | 
					esac
 | 
				
			||||||
mkdir -p /opt/komodo
 | 
					mkdir -p /opt/komodo
 | 
				
			||||||
cd /opt/komodo
 | 
					cd /opt/komodo
 | 
				
			||||||
curl -fsSL "https://raw.githubusercontent.com/mbecker20/komodo/main/compose/$DB_COMPOSE_FILE" -o $(basename "https://raw.githubusercontent.com/mbecker20/komodo/main/compose/$DB_COMPOSE_FILE")
 | 
					curl -fsSL "https://raw.githubusercontent.com/moghtech/komodo/main/compose/$DB_COMPOSE_FILE" -o $(basename "https://raw.githubusercontent.com/moghtech/komodo/main/compose/$DB_COMPOSE_FILE")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Setup Komodo Environment"
 | 
					msg_info "Setup Komodo Environment"
 | 
				
			||||||
curl -fsSL "https://raw.githubusercontent.com/mbecker20/komodo/main/compose/compose.env" -o "/opt/komodo/compose.env"
 | 
					curl -fsSL "https://raw.githubusercontent.com/moghtech/komodo/main/compose/compose.env" -o "/opt/komodo/compose.env"
 | 
				
			||||||
DB_PASSWORD=$(openssl rand -base64 16 | tr -d '/+=')
 | 
					DB_PASSWORD=$(openssl rand -base64 16 | tr -d '/+=')
 | 
				
			||||||
PASSKEY=$(openssl rand -base64 24 | tr -d '/+=')
 | 
					PASSKEY=$(openssl rand -base64 24 | tr -d '/+=')
 | 
				
			||||||
WEBHOOK_SECRET=$(openssl rand -base64 24 | tr -d '/+=')
 | 
					WEBHOOK_SECRET=$(openssl rand -base64 24 | tr -d '/+=')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user