question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there a way to specify the dashboard port in tye.yaml?

See original GitHub issue

What should we add or change to make your life better?

Adding a top level port element to the Tye schema, to allow setting the dashboard port (defaults to 8000) from the tye.yaml configuration file

Why is this important to you?

We’re using Tye extensively at my new workplace, and due to the inability to order the startup of each service (#652), we have three “levels” of tye.yaml files that need to be executed in a specific order:

  • dependencies/tye.yaml
  • intermediate/tye.yaml
  • services/tye,.yaml

In order to run three instances of Tye, I need to pass in a port (i.e. tye run --port 8001) so port conflicts don’t occur during startup. Would be very handy to be able to specify this port value in the tye.yaml rather than having to remember to pass a port value, e.g.

name: dependencies
port: 8001

services:
  - myservice
  ...

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
davidfowlcommented, Sep 2, 2021

Tye will use a random port if 8000 is in use. You’d only need this if you want a stable port. If we did this it would be called dashboardPort

0reactions
philliphoffcommented, Sep 30, 2021

Closing per #1163.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Introducing Project Tye - .NET Blog
Navigate to http://localhost:8000 to see the dashboard running. The dashboard is the UI for Tye that displays a list of all of your...
Read more >
Project Tye: Creating Microservices in a .NET Way
The run command identifies the applications and builds them, automatically setting the ports for bindings as these may change due to ports in...
Read more >
Getting Started with Project Tye
In the terminal, enter tye run. The output to highlight is: Tye has a dashboard and has started it. Tye builds the projects...
Read more >
Dapr .NET SDK Development with Project Tye
Next follow the steps in the Tye Dapr recipe to add Dapr. Make sure to specify the relative path to your components folder...
Read more >
Deploy and Access the Kubernetes Dashboard
You can either manually specify application details, or upload a YAML or JSON manifest file containing application configuration.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found