Replace docker-compose with docker compose

Use modern docker compose command instead of deprecated docker-compose

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-01 08:11:30 +00:00
parent 60e4199639
commit c9ce56cbbe
2 changed files with 3 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ echo
# Step 2: Restart containers
echo -e "${YELLOW}Step 2: Restarting containers...${NC}"
docker-compose restart
docker compose restart
echo -e "${GREEN}✓ Containers restarted${NC}"
echo
@@ -70,7 +70,7 @@ echo
echo -e "${YELLOW}Step 4: MQTT configuration sync${NC}"
echo -e "${YELLOW}Note: Automatic sync requires admin authentication.${NC}"
echo -e "${YELLOW}Please log into the Admin Panel and click 'Sync MQTT Config' to apply the new password.${NC}"
echo -e "${YELLOW}Alternatively, restart Mosquitto: docker-compose restart mosquitto${NC}"
echo -e "${YELLOW}Alternatively, restart Mosquitto: docker compose restart mosquitto${NC}"
echo
echo -e "${GREEN}========================================${NC}"

View File

@@ -172,7 +172,7 @@ async function reloadMosquitto(): Promise<boolean> {
return true;
} catch (error) {
console.log('⚠ Could not reload Mosquitto automatically (requires docker socket permissions)');
console.log('→ Changes saved to config files - restart Mosquitto to apply: docker-compose restart mosquitto');
console.log('→ Changes saved to config files - restart Mosquitto to apply: docker compose restart mosquitto');
// Werfe keinen Fehler - Config-Dateien sind aktualisiert, werden beim nächsten Restart geladen
return false;
}