Open XenonR opened 2 weeks ago
What is the idea or deployment goal?
From the docker command alone I would assume we need to change if ($server->isSwarm()) {
to if ($server->isSwarmManager()) {
Related to #4130
After correcting this issue we encounter traefik:v2
configuration but want to use traefik:v3.1
After addressing #4146 and #4130 the proxy is able to start at a docker manager, but still fails on a worker with:
traefik Pulling
traefik Pulled
Container proxy-traefik-1 Recreate
Container proxy-traefik-1 Recreated
Container proxy-traefik-1 Starting
Error response from daemon: container aefeb1567f40d5e71bd78c5c348146c3a8851eaf1dfac6aeaa7d60a159066e06: endpoint join on GW Network failed: driver failed programming external connectivity on endpoint gateway_78aa55990e7a (279cdf7bc78f9f8f58e27930e1ef66c3d6b07ae73e90e27d7ed2c65fc2fa2959): failed to bind port 0.0.0.0:80/tcp: Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use
netstat
tcp6 0 0 :::80 :::* LISTEN 0 331866 1685/dockerd
tcp6 0 0 :::443 :::* LISTEN 0 331327 1685/dockerd
tcp6 0 0 :::8080 :::* LISTEN 0 331358 1685/dockerd
On worker nodes it should not be required to deploy the proxy. As long as the ingress routing mesh is used the proxy of the manager will also be reachable from the workers.
I need someone who explains the desired design to continue.
Development branch: https://github.com/bit-in-gmbh/coolify/tree/swarm
Error Message and Logs
Manager
Worker
Steps to Reproduce
Example Repository URL
No response
Coolify Version
v4.0.0-beta.360
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Debian GNU/Linux 12 (bookworm)
Additional Information
The same error occurs when trying to deploy something.