Skip to content

pr: next to main#144

Merged
Quenary merged 22 commits intomainfrom
next
Mar 5, 2026
Merged

pr: next to main#144
Quenary merged 22 commits intomainfrom
next

Conversation

@Quenary
Copy link
Copy Markdown
Owner

@Quenary Quenary commented Mar 5, 2026

No description provided.

richierg and others added 22 commits February 26, 2026 01:58
Hello,
If tugtainer have to use http_proxy to reach internet, aiohttp need to
be able to read system variable (http_proxy)
https://docs.aiohttp.org/en/stable/client_advanced.html#proxy-support
This is native on requests but not on aiohttp ..
aio-libs/aiohttp#2963

Co-authored-by: Gael RICHIER <grichier@scaleway.com>
)

## Problem

When Tugtainer recreates a container that was originally bound to a
specific IP address (e.g. `-p 10.0.0.5:443:443`), the recreated
container binds to `0.0.0.0:443` instead. This causes port conflicts
when another service on the same host is already listening on that port
on a different IP.

In our case, we have two services that both need port 443 but on
different IPs:
- Service A bound to `10.0.0.5:443`
- Service B bound to `10.0.0.10:443`

Every time Tugtainer updates Service A, it gets recreated on
`0.0.0.0:443`, conflicting with Service B, and fails to start.

## Root Cause

`map_port_bindings_to_list()` reads `entry.host_port` from Docker's
inspect data but ignores `entry.host_ip` entirely. The resulting tuple
`(host_port, container_port, proto)` has no IP information, so Docker
defaults to `0.0.0.0`.

## Fix

When `host_ip` is present, prepend it to `host_port` (e.g.
`"10.0.0.5:443"`), which Docker CLI correctly interprets as an
IP-specific binding via `-p 10.0.0.5:443:443/tcp`.

Containers without a specific IP binding are unaffected — they continue
to use `0.0.0.0` as before.

---------

Co-authored-by: VAC <vac@vacs-mac-mini.localdomain>
+ fixed images page loading (NG02100)
+ fixed app loading with some locales

Closes #82
+ use component suffix
+ added suffix to angular.json
+ added vscode settings for auto format on save
+ moved files from entities to features respective directories
+ moved files from entities to shared
+ removed circular icon from containers / check all / check all hosts buttons

Closes #123
+ added paho-mqtt dependency

Closes #128
+ fixed issue with new migrations generation (import models to alembic env)
+ added settings
+ added separate actions for check/update and one/group/host/all
+ some respective changes
+ some refactoring

Closses #121
Closes #122
+ added setting
+ added pull before remote manifest request if enabled

Closes #114
+ added setting
+ added delays between pull/manifest/etc

Closes #116
+ fixed issue that scheduled check job was including all containers, now it includes selected only

Related to #121
@Quenary Quenary merged commit c6d1ecd into main Mar 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants