fix: per-event delete button, Docker network default, polling interval duration parsing

- Add per-event delete button (trash icon on hover) in event log entries
- Set Docker network default to 'docker-watcher' in DB schema + migration for existing DBs
- Parse Go duration strings (5m, 1h) to seconds in settings UI, convert back on save
- Clear error when network is empty in deployer instead of hidden fallback
This commit is contained in:
2026-04-05 02:02:03 +03:00
parent c26c41e6a1
commit f71f2275a2
5 changed files with 53 additions and 5 deletions
+3
View File
@@ -286,6 +286,9 @@ func (d *Deployer) executeDeploy(
d.logDeploy(deployID, "Image pulled successfully", "info")
// Step 2: Ensure network exists.
if settings.Network == "" {
return containerID, proxyRouteID, instanceID, fmt.Errorf("docker network not configured in settings")
}
networkID, err := d.docker.EnsureNetwork(ctx, settings.Network)
if err != nil {
return containerID, proxyRouteID, instanceID, fmt.Errorf("ensure network: %w", err)