[GH-ISSUE #715] Container URL in the port column of the UI isn't configurable #13678

Closed
opened 2026-05-20 15:36:50 -05:00 by GiteaMirror · 6 comments
Owner

Originally created by @GentleHoneyLover on GitHub (Aug 7, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/715

Thanks for the great project — loving it!

I can't seem to find a way to configure the container URL that shows up in the Port column in the UI, though:

Image

By default, it seems to be using the periphery URL and there appears to be no way of overriding this:

Image

In my case, I'm running both, the core and periphery on one Docker host and they communicate via an internal docker network (therefore the http://komodo-periphery:8120 URL). And in order to make these UI links useful it would be great to be able to set the actual host URL for each server.

Thanks!

Originally created by @GentleHoneyLover on GitHub (Aug 7, 2025). Original GitHub issue: https://github.com/moghtech/komodo/issues/715 Thanks for the great project — loving it! I can't seem to find a way to configure the container URL that shows up in the Port column in the UI, though: <img width="276" height="164" alt="Image" src="https://github.com/user-attachments/assets/12387300-a0fb-4cc6-923b-759ca8515696" /> By default, it seems to be using the periphery URL and there appears to be no way of overriding this: <img width="562" height="150" alt="Image" src="https://github.com/user-attachments/assets/823458a6-3604-46d3-8e60-0a4d475fcdf1" /> In my case, I'm running both, the core and periphery on one Docker host and they communicate via an internal docker network (therefore the `http://komodo-periphery:8120` URL). And in order to make these UI links useful it would be great to be able to set the actual host URL for each server. Thanks!
Author
Owner

@afrid18 commented on GitHub (Aug 13, 2025):

I am facing the same issue, here is my core configuration

  core:
    image: ghcr.io/moghtech/komodo-core:${COMPOSE_KOMODO_IMAGE_TAG:-latest}
    labels:
      komodo.skip: # Prevent Komodo from stopping with StopAllContainers
    restart: unless-stopped
    depends_on:
      - mongo
    ports:
      - 9120:9120
    env_file: ./compose.env
    environment:
      KOMODO_DATABASE_ADDRESS: mongo:27017
      KOMODO_DATABASE_USERNAME: ${KOMODO_DB_USERNAME}
      KOMODO_DATABASE_PASSWORD: ${KOMODO_DB_PASSWORD}
    volumes:
      ## Core cache for repos for latest commit hash / contents
      - repo-cache:/repo-cache
      ## Store sync files on server
      # - /path/to/syncs:/syncs
      ## Optionally mount a custom core.config.toml
      # - /path/to/core.config.toml:/config/config.toml
    ## Allows for systemd Periphery connection at 
    ## "http://host.docker.internal:8120"
    extra_hosts:
      ## - host.docker.internal:host-gateway
      - periphery:192.168.1.28

The port on my web UI is still not redirecting me to the ip address I specified, I even opened the ports 8120:8120 for periphery in compose

<!-- gh-comment-id:3186187760 --> @afrid18 commented on GitHub (Aug 13, 2025): I am facing the same issue, here is my core configuration ``` core: image: ghcr.io/moghtech/komodo-core:${COMPOSE_KOMODO_IMAGE_TAG:-latest} labels: komodo.skip: # Prevent Komodo from stopping with StopAllContainers restart: unless-stopped depends_on: - mongo ports: - 9120:9120 env_file: ./compose.env environment: KOMODO_DATABASE_ADDRESS: mongo:27017 KOMODO_DATABASE_USERNAME: ${KOMODO_DB_USERNAME} KOMODO_DATABASE_PASSWORD: ${KOMODO_DB_PASSWORD} volumes: ## Core cache for repos for latest commit hash / contents - repo-cache:/repo-cache ## Store sync files on server # - /path/to/syncs:/syncs ## Optionally mount a custom core.config.toml # - /path/to/core.config.toml:/config/config.toml ## Allows for systemd Periphery connection at ## "http://host.docker.internal:8120" extra_hosts: ## - host.docker.internal:host-gateway - periphery:192.168.1.28 ``` The port on my web UI is still not redirecting me to the ip address I specified, I even opened the ports 8120:8120 for periphery in compose
Author
Owner

@afrid18 commented on GitHub (Aug 13, 2025):

Hello @GentleHoneyLover , try opening ports in your compose file, you may get option to edit in web ui, but I am trying to see if there is any option to set it up directly in compose file

Image
<!-- gh-comment-id:3186191455 --> @afrid18 commented on GitHub (Aug 13, 2025): Hello @GentleHoneyLover , try opening ports in your compose file, you may get option to edit in web ui, but I am trying to see if there is any option to set it up directly in compose file <img width="522" height="146" alt="Image" src="https://github.com/user-attachments/assets/73cf0be5-d7f1-41ba-9c0f-381618a2e500" />
Author
Owner

@MadDogTen commented on GitHub (Aug 13, 2025):

I can't seem to find a way to configure the container URL that shows up in the Port column in the UI, though:

By default, it seems to be using the periphery URL and there appears to be no way of overriding this:

In my case, I'm running both, the core and periphery on one Docker host and they communicate via an internal docker network (therefore the http://komodo-periphery:8120 URL). And in order to make these UI links useful it would be great to be able to set the actual host URL for each server.

Thanks!

I've ran into the same thing and would also like the option to change it. Not sure if I'm missing something, but as it is, those links are useless.

<!-- gh-comment-id:3186222893 --> @MadDogTen commented on GitHub (Aug 13, 2025): > I can't seem to find a way to configure the container URL that shows up in the Port column in the UI, though: > > By default, it seems to be using the periphery URL and there appears to be no way of overriding this: > > In my case, I'm running both, the core and periphery on one Docker host and they communicate via an internal docker network (therefore the `http://komodo-periphery:8120` URL). And in order to make these UI links useful it would be great to be able to set the actual host URL for each server. > > Thanks! I've ran into the same thing and would also like the option to change it. Not sure if I'm missing something, but as it is, those links are useless.
Author
Owner

@ValentinVie commented on GitHub (Aug 14, 2025):

I found a workaround which does not involve exposing periphery on the local network.
I added a local DNS record : periphery <-> <your-server-IP> (in your case it will be komodo-periphery). I did this with pihole, it's a bit hacky but it works well.

EDIT : It does not work with my password manager though. I need to recreate all matching URL entries.

Image
<!-- gh-comment-id:3188770261 --> @ValentinVie commented on GitHub (Aug 14, 2025): I found a workaround which does not involve exposing periphery on the local network. I added a local DNS record : `periphery <-> <your-server-IP>` (in your case it will be `komodo-periphery`). I did this with pihole, it's a bit hacky but it works well. EDIT : It does not work with my password manager though. I need to recreate all matching URL entries. <img width="486" height="427" alt="Image" src="https://github.com/user-attachments/assets/d5d04e2c-7201-4c2f-b6e8-5a6c6693a255" />
Author
Owner

@ValentinVie commented on GitHub (Aug 18, 2025):

It is now configurable since 1.19.0 without the DNS workaround.

Image
<!-- gh-comment-id:3196154922 --> @ValentinVie commented on GitHub (Aug 18, 2025): It is now configurable since 1.19.0 without the DNS workaround. <img width="1036" height="604" alt="Image" src="https://github.com/user-attachments/assets/0f368d59-c122-4be6-93d2-aa209283e85c" />
Author
Owner

@GentleHoneyLover commented on GitHub (Aug 18, 2025):

Awesome, exactly what was missing! Thanks all!

<!-- gh-comment-id:3196213661 --> @GentleHoneyLover commented on GitHub (Aug 18, 2025): Awesome, exactly what was missing! Thanks all!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#13678