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:
@@ -56,7 +56,7 @@ echo
|
|||||||
|
|
||||||
# Step 2: Restart containers
|
# Step 2: Restart containers
|
||||||
echo -e "${YELLOW}Step 2: Restarting containers...${NC}"
|
echo -e "${YELLOW}Step 2: Restarting containers...${NC}"
|
||||||
docker-compose restart
|
docker compose restart
|
||||||
echo -e "${GREEN}✓ Containers restarted${NC}"
|
echo -e "${GREEN}✓ Containers restarted${NC}"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
@@ -70,7 +70,7 @@ echo
|
|||||||
echo -e "${YELLOW}Step 4: MQTT configuration sync${NC}"
|
echo -e "${YELLOW}Step 4: MQTT configuration sync${NC}"
|
||||||
echo -e "${YELLOW}Note: Automatic sync requires admin authentication.${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}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
|
||||||
echo -e "${GREEN}========================================${NC}"
|
echo -e "${GREEN}========================================${NC}"
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ async function reloadMosquitto(): Promise<boolean> {
|
|||||||
return true;
|
return true;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log('⚠ Could not reload Mosquitto automatically (requires docker socket permissions)');
|
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
|
// Werfe keinen Fehler - Config-Dateien sind aktualisiert, werden beim nächsten Restart geladen
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user