[bug] service with "-" in name not detected #147

Closed
opened 2025-10-31 15:03:18 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @ValgulNecron on GitHub (Dec 4, 2024).

so if i have a compose

name: it-tools

networks:
  traefik:
    external: true

services:
  it-tools:
    image: 'corentinth/it-tools:latest'
    restart: unless-stopped
    container_name: it-tools
    hostname: it-tools
    networks:
      - traefik
    labels:
      traefik.enable: true
      traefik.http.routers.ittools.rule: Host(`it-tools.exemple.com`)
      traefik.http.routers.ittools.entrypoints: websecure
      traefik.http.services.ittools.loadbalancer.server.port: 80
      traefik.http.routers.ittools.service: it-tools

and if go into the stack
image

but if i go in containers
image

it is detected and shown

Originally created by @ValgulNecron on GitHub (Dec 4, 2024). so if i have a compose ```yml name: it-tools networks: traefik: external: true services: it-tools: image: 'corentinth/it-tools:latest' restart: unless-stopped container_name: it-tools hostname: it-tools networks: - traefik labels: traefik.enable: true traefik.http.routers.ittools.rule: Host(`it-tools.exemple.com`) traefik.http.routers.ittools.entrypoints: websecure traefik.http.services.ittools.loadbalancer.server.port: 80 traefik.http.routers.ittools.service: it-tools ``` and if go into the stack ![image](https://github.com/user-attachments/assets/cb3568a8-7ca4-48b4-964b-6de77388f80b) but if i go in containers ![image](https://github.com/user-attachments/assets/ab047717-0009-475d-af4e-d65af0086aa6) it is detected and shown
GiteaMirror added the seen 👀 label 2025-10-31 15:03:18 -05:00
Author
Owner

@mbecker20 commented on GitHub (Dec 5, 2024):

It wouldn't be because of "-", this one works fine. Maybe you can double check the compose project name on host?
Screenshot 2024-12-04 at 7 50 45 PM
Screenshot 2024-12-04 at 7 50 52 PM

@mbecker20 commented on GitHub (Dec 5, 2024): It wouldn't be because of "-", this one works fine. Maybe you can double check the compose project name on host? <img width="400" alt="Screenshot 2024-12-04 at 7 50 45 PM" src="https://github.com/user-attachments/assets/d9d2f61c-43d5-452c-a92e-de52c94f1343"> <img width="715" alt="Screenshot 2024-12-04 at 7 50 52 PM" src="https://github.com/user-attachments/assets/2f77eb12-4840-43b6-9e8b-cd9ede4a0827">
Author
Owner

@ValgulNecron commented on GitHub (Dec 15, 2024):

hi sorry for the delayed response.

i did some more testing on my side and it only happen if i launch the compose from the host, if i launch it from komodo there is no issue.

@ValgulNecron commented on GitHub (Dec 15, 2024): hi sorry for the delayed response. i did some more testing on my side and it only happen if i launch the compose from the host, if i launch it from komodo there is no issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#147