Bayern suffered a 2-1 loss against Lille in the Champions League on Wednesday, prompting Kompany to demand an immediate response. The Belgian described his dressing room as focused and determined to put the setback behind them.
However, Hamburg's recent home performances present a significant challenge, with HSV winning their previous three Bundesliga matches on their own ground.
Kompany also retains a personal connection to the club, having spent two injury-disrupted seasons there between 2006 and 2008 before moving to Manchester City. He admitted that returning to Hamburg will always be special.
"It'll always be a special game for me. I don't know why. I wasn't there for long, but the city and the people do something to you," Kompany said on Friday.
"But we've got extra motivation to get three points, because we've got our challenges at the moment.
"Our total priority these days is HSV against Bayern. We want to show a reaction after the loss to Lille. We've got our focus, our bubble... It's an environment where we can say anything, where we can always be honest with each other."
Hamburg manager Merlin Polzin welcomed the opportunity to face Bayern but will be without five injured players, including Miro Muheim, Albert Sambi Lokonga and Yussuf Poulsen.