Open ShanDestromp opened 6 months ago
Ha, I have the same problem, but for some other reason - though closely related (ports)
My configuration of Gitea that shows the behaviour of this bug is below. It is a configuration where the reverse proxy takes care of the access to the web interface, and an extra port is exposed (TBH I do not remember why anymore but it does no matter)
gitea:
image: gitea/gitea:latest
labels:
- traefik.http.services.gitea.loadbalancer.server.port=3000
ports:
- 13352
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- gitea:/data
However if I remove the exposed port the container is correctly displayed in the dockge
:
gitea:
image: gitea/gitea:latest
labels:
- traefik.http.services.gitea.loadbalancer.server.port=3000
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- gitea:/data
There is indeed something wrong with the ports parsing/management
⚠️ Please verify that this bug has NOT been reported before.
🛡️ Security Policy
Description
Possibly related to #429 and #286 (the latter seems really likely to me).
I have a stack with 7 containers, however when running (and all containers are active and accessible) only 3 are displayed. If I edit the stack while editing it lists them all, but as soon as I save the stack it reverts back to displaying just the 3. The stacks displayed are always consistent and not related to their position in the compose file. The reason I think it might be related to #286 is because the 3 that display have standard
layout, while those that are "missing" use the "published / target" style:
If I change the port style of one of the "missing" containers to the simpler "external:internal" style, and save the stack, the container will show up on the list as expected.
👟 Reproduction steps
Assign ports like this:
👀 Expected behavior
All containers are visible regardless of the "style" used I guess?
😓 Actual Behavior
Some containers missing from display.
Dockge Version
1.4.2
💻 Operating System and Arch
Debian 12
🌐 Browser
Chrome / FF
🐋 Docker Version
No response
🟩 NodeJS Version
No response
📝 Relevant log output