When I click the host name of my fly dashboard it shows only Hello from Fly !

Hello there.
This is my first time using Fly and I have deployed a test app but it doesn’t show what it is supposed to !

Here is the fly.toml file. Let me know if you need anything else to resolve this.

# fly.toml file generated for test-app-x01 on 2023-02-08T00:22:08Z

app = "test-app-x01"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []

  image = "flyio/hellofly:latest"


  auto_rollback = true

  http_checks = []
  internal_port = 8080
  processes = ["app"]
  protocol = "tcp"
  script_checks = []
    hard_limit = 25
    soft_limit = 20
    type = "connections"

    force_https = true
    handlers = ["http"]
    port = 80

    handlers = ["tls", "http"]
    port = 443

    grace_period = "30s"
    interval = "15s"
    restart_limit = 0
    timeout = "60s"

That’s not much to go on, but since you tagged your application as Rails, your application is probably running on port 3000 rather than 8080. Change internal_port in your fly.toml to match the EXPOSE port listed in the Dockerfile you used to build this application.

1 Like

Where did this come from? That’s what is being deployed, not your application.

Normally, Rails applications start without a Dockerfile or a fly.toml. These are generated for you by fly launch.

1 Like

@rubys Thanks that help narrow the scope.
I added the correct image and also the env. variables.