Git Product home page Git Product logo

Comments (5)

rohan-buechner avatar rohan-buechner commented on June 30, 2024 2

@rafaelldi I've updated the PR. The local plugin works & manages to connect to the dashboard. Also thanks for the feedback, I feel quite accomplished (officially the first Java code I've written 😆 )

from tye-plugin.

rafaelldi avatar rafaelldi commented on June 30, 2024 1

Moreover, it's a Kotlin code 😉

from tye-plugin.

rafaelldi avatar rafaelldi commented on June 30, 2024

Hello! Thank you for your contribution.
Could you please attach a response from the endpoint GET http://localhost:8000/api/v1/services to better understand the problem?

from tye-plugin.

rohan-buechner avatar rohan-buechner commented on June 30, 2024

AH! What I can see is. Your plugin was last released on the 13th July, and on the 20th July, this was added in to TYE See this PR

Wow... I did not even know you can do that. But here it is. Then my output from my local Tye services is below:

[
  {
    "description": {
      "name": "estimator-api",
      "replicas": 1,
      "runInfo": {
        "type": "project",
        "args": null,
        "build": true,
        "project": "/Users/rohanbuchner/source/Easiir/Estimator.API/Estimator.API.csproj",
        "workingDirectory": null,
        "volumeMappings": null,
        "image": null,
        "executable": null
      },
      "bindings": [
        {
          "name": null,
          "connectionString": null,
          "autoAssignPort": false,
          "port": 5051,
          "containerPort": 80,
          "host": null,
          "protocol": "http"
        }
      ],
      "configuration": []
    },
    "serviceSource": "configuration",
    "serviceType": "project",
    "restarts": 0,
    "status": {
      "projectFilePath": "/Users/rohanbuchner/source/Easiir/Estimator.API/Estimator.API.csproj",
      "executablePath": "dotnet",
      "args": "exec \u0022/Users/rohanbuchner/source/Easiir/Estimator.API/bin/Debug/net5.0/Estimator.API.dll\u0022",
      "workingDirectory": "/Users/rohanbuchner/source/Easiir/Estimator.API"
    },
    "replicas": {
      "estimator-api_a4c3da0d-0": {
        "dockerCommand": null,
        "containerId": null,
        "dockerNetwork": null,
        "dockerNetworkAlias": null,
        "name": "estimator-api_a4c3da0d-0",
        "ports": [
          5051
        ],
        "exitCode": null,
        "pid": 16980,
        "environment": {
          "DOTNET_ENVIRONMENT": "Development",
          "ASPNETCORE_ENVIRONMENT": "Development",
          "DOTNET_LOGGING__CONSOLE__DISABLECOLORS": "true",
          "ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS": "true",
          "SERVICE__ESTIMATOR-API__PROTOCOL": "http",
          "ESTIMATOR-API_SERVICE_PROTOCOL": "http",
          "SERVICE__ESTIMATOR-API__PORT": "5051",
          "ESTIMATOR-API_SERVICE_PORT": "5051",
          "SERVICE__ESTIMATOR-API__HOST": "localhost",
          "ESTIMATOR-API_SERVICE_HOST": "localhost",
          "SERVICE__GATEWAY__PROTOCOL": "http",
          "GATEWAY_SERVICE_PROTOCOL": "http",
          "SERVICE__GATEWAY__PORT": "5054",
          "GATEWAY_SERVICE_PORT": "5054",
          "SERVICE__GATEWAY__HOST": "localhost",
          "GATEWAY_SERVICE_HOST": "localhost",
          "CONNECTIONSTRINGS__REDIS": "localhost:6379",
          "CONNECTIONSTRINGS__POSTGRES": "Server=localhost;Port=5432;User Id=postgres;Password=pass@word1;",
          "SERVICE__RABBITMQ__RABBIT__PROTOCOL": "rabbitmq",
          "RABBITMQ_RABBIT_SERVICE_PROTOCOL": "rabbitmq",
          "SERVICE__RABBITMQ__RABBIT__PORT": "5672",
          "RABBITMQ_RABBIT_SERVICE_PORT": "5672",
          "SERVICE__RABBITMQ__RABBIT__HOST": "localhost",
          "RABBITMQ_RABBIT_SERVICE_HOST": "localhost",
          "SERVICE__RABBITMQ__MANAGEMENT__PORT": "15672",
          "RABBITMQ_MANAGEMENT_SERVICE_PORT": "15672",
          "SERVICE__RABBITMQ__MANAGEMENT__HOST": "localhost",
          "RABBITMQ_MANAGEMENT_SERVICE_HOST": "localhost",
          "SERVICE__ZIPKIN__PROTOCOL": "http",
          "ZIPKIN_SERVICE_PROTOCOL": "http",
          "SERVICE__ZIPKIN__PORT": "9411",
          "ZIPKIN_SERVICE_PORT": "9411",
          "SERVICE__ZIPKIN__HOST": "localhost",
          "ZIPKIN_SERVICE_HOST": "localhost",
          "ASPNETCORE_URLS": "http://localhost:5051",
          "PORT": "5051",
          "APP_INSTANCE": "estimator-api_a4c3da0d-0",
          "DOTNET_WATCH": "1",
          "DOTNET_WATCH_ITERATION": "1"
        },
        "state": "ready"
      }
    }
  },
  {
    "description": {
      "name": "gateway",
      "replicas": 1,
      "runInfo": {
        "type": "project",
        "args": null,
        "build": true,
        "project": "/Users/rohanbuchner/source/Easiir/Gateway/Gateway.csproj",
        "workingDirectory": null,
        "volumeMappings": null,
        "image": null,
        "executable": null
      },
      "bindings": [
        {
          "name": null,
          "connectionString": null,
          "autoAssignPort": false,
          "port": 5054,
          "containerPort": 80,
          "host": null,
          "protocol": "http"
        }
      ],
      "configuration": []
    },
    "serviceSource": "configuration",
    "serviceType": "project",
    "restarts": 1,
    "status": {
      "projectFilePath": "/Users/rohanbuchner/source/Easiir/Gateway/Gateway.csproj",
      "executablePath": "dotnet",
      "args": "exec \u0022/Users/rohanbuchner/source/Easiir/Gateway/bin/Debug/net5.0/Gateway.dll\u0022",
      "workingDirectory": "/Users/rohanbuchner/source/Easiir/Gateway"
    },
    "replicas": {}
  },
  {
    "description": {
      "name": "messenger",
      "replicas": 1,
      "runInfo": {
        "type": "project",
        "args": null,
        "build": true,
        "project": "/Users/rohanbuchner/source/Easiir/Messenger.Worker/Messenger.Worker.csproj",
        "workingDirectory": null,
        "volumeMappings": null,
        "image": null,
        "executable": null
      },
      "bindings": [],
      "configuration": []
    },
    "serviceSource": "configuration",
    "serviceType": "project",
    "restarts": 0,
    "status": {
      "projectFilePath": "/Users/rohanbuchner/source/Easiir/Messenger.Worker/Messenger.Worker.csproj",
      "executablePath": "dotnet",
      "args": "exec \u0022/Users/rohanbuchner/source/Easiir/Messenger.Worker/bin/Debug/net5.0/Messenger.Worker.dll\u0022",
      "workingDirectory": "/Users/rohanbuchner/source/Easiir/Messenger.Worker"
    },
    "replicas": {
      "messenger_618a6296-a": {
        "dockerCommand": null,
        "containerId": null,
        "dockerNetwork": null,
        "dockerNetworkAlias": null,
        "name": "messenger_618a6296-a",
        "ports": null,
        "exitCode": null,
        "pid": 16970,
        "environment": {
          "DOTNET_ENVIRONMENT": "Development",
          "ASPNETCORE_ENVIRONMENT": "Development",
          "DOTNET_LOGGING__CONSOLE__DISABLECOLORS": "true",
          "ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS": "true",
          "SERVICE__ESTIMATOR-API__PROTOCOL": "http",
          "ESTIMATOR-API_SERVICE_PROTOCOL": "http",
          "SERVICE__ESTIMATOR-API__PORT": "5051",
          "ESTIMATOR-API_SERVICE_PORT": "5051",
          "SERVICE__ESTIMATOR-API__HOST": "localhost",
          "ESTIMATOR-API_SERVICE_HOST": "localhost",
          "SERVICE__GATEWAY__PROTOCOL": "http",
          "GATEWAY_SERVICE_PROTOCOL": "http",
          "SERVICE__GATEWAY__PORT": "5054",
          "GATEWAY_SERVICE_PORT": "5054",
          "SERVICE__GATEWAY__HOST": "localhost",
          "GATEWAY_SERVICE_HOST": "localhost",
          "CONNECTIONSTRINGS__REDIS": "localhost:6379",
          "CONNECTIONSTRINGS__POSTGRES": "Server=localhost;Port=5432;User Id=postgres;Password=pass@word1;",
          "SERVICE__RABBITMQ__RABBIT__PROTOCOL": "rabbitmq",
          "RABBITMQ_RABBIT_SERVICE_PROTOCOL": "rabbitmq",
          "SERVICE__RABBITMQ__RABBIT__PORT": "5672",
          "RABBITMQ_RABBIT_SERVICE_PORT": "5672",
          "SERVICE__RABBITMQ__RABBIT__HOST": "localhost",
          "RABBITMQ_RABBIT_SERVICE_HOST": "localhost",
          "SERVICE__RABBITMQ__MANAGEMENT__PORT": "15672",
          "RABBITMQ_MANAGEMENT_SERVICE_PORT": "15672",
          "SERVICE__RABBITMQ__MANAGEMENT__HOST": "localhost",
          "RABBITMQ_MANAGEMENT_SERVICE_HOST": "localhost",
          "SERVICE__ZIPKIN__PROTOCOL": "http",
          "ZIPKIN_SERVICE_PROTOCOL": "http",
          "SERVICE__ZIPKIN__PORT": "9411",
          "ZIPKIN_SERVICE_PORT": "9411",
          "SERVICE__ZIPKIN__HOST": "localhost",
          "ZIPKIN_SERVICE_HOST": "localhost",
          "APP_INSTANCE": "messenger_618a6296-a",
          "DOTNET_WATCH": "1",
          "DOTNET_WATCH_ITERATION": "1"
        },
        "state": "ready"
      }
    }
  },
  {
    "description": {
      "name": "postgres",
      "replicas": 1,
      "runInfo": {
        "type": "docker",
        "args": null,
        "build": false,
        "project": null,
        "workingDirectory": null,
        "volumeMappings": [],
        "image": "postgres",
        "executable": null
      },
      "bindings": [
        {
          "name": null,
          "connectionString": "Server=${host};Port=${port};User Id=postgres;Password=${env:POSTGRES_PASSWORD};",
          "autoAssignPort": false,
          "port": 5432,
          "containerPort": null,
          "host": null,
          "protocol": null
        }
      ],
      "configuration": [
        {
          "name": "POSTGRES_PASSWORD",
          "value": "pass@word1"
        }
      ]
    },
    "serviceSource": "configuration",
    "serviceType": "container",
    "restarts": 0,
    "status": {
      "projectFilePath": null,
      "executablePath": null,
      "args": null,
      "workingDirectory": null
    },
    "replicas": {
      "postgres_b79561e2-0": {
        "dockerCommand": "run -d   -e \u0022PORT=5432\u0022 -e \u0022PROXY_PORT=5432:5432\u0022 -e \u0022POSTGRES_PASSWORD=pass@word1\u0022 -e \u0022CONNECTIONSTRINGS__POSTGRES=Server=host.docker.internal;Port=5432;User Id=postgres;Password=pass@word1;\u0022 -e \u0022SERVICE__ESTIMATOR-API__PROTOCOL=http\u0022 -e \u0022ESTIMATOR-API_SERVICE_PROTOCOL=http\u0022 -e \u0022SERVICE__ESTIMATOR-API__PORT=5051\u0022 -e \u0022ESTIMATOR-API_SERVICE_PORT=5051\u0022 -e \u0022SERVICE__ESTIMATOR-API__HOST=host.docker.internal\u0022 -e \u0022ESTIMATOR-API_SERVICE_HOST=host.docker.internal\u0022 -e \u0022SERVICE__GATEWAY__PROTOCOL=http\u0022 -e \u0022GATEWAY_SERVICE_PROTOCOL=http\u0022 -e \u0022SERVICE__GATEWAY__PORT=5054\u0022 -e \u0022GATEWAY_SERVICE_PORT=5054\u0022 -e \u0022SERVICE__GATEWAY__HOST=host.docker.internal\u0022 -e \u0022GATEWAY_SERVICE_HOST=host.docker.internal\u0022 -e \u0022CONNECTIONSTRINGS__REDIS=host.docker.internal:6379\u0022 -e \u0022SERVICE__RABBITMQ__RABBIT__PROTOCOL=rabbitmq\u0022 -e \u0022RABBITMQ_RABBIT_SERVICE_PROTOCOL=rabbitmq\u0022 -e \u0022SERVICE__RABBITMQ__RABBIT__PORT=5672\u0022 -e \u0022RABBITMQ_RABBIT_SERVICE_PORT=5672\u0022 -e \u0022SERVICE__RABBITMQ__RABBIT__HOST=host.docker.internal\u0022 -e \u0022RABBITMQ_RABBIT_SERVICE_HOST=host.docker.internal\u0022 -e \u0022SERVICE__RABBITMQ__MANAGEMENT__PORT=15672\u0022 -e \u0022RABBITMQ_MANAGEMENT_SERVICE_PORT=15672\u0022 -e \u0022SERVICE__RABBITMQ__MANAGEMENT__HOST=host.docker.internal\u0022 -e \u0022RABBITMQ_MANAGEMENT_SERVICE_HOST=host.docker.internal\u0022 -e \u0022SERVICE__ZIPKIN__PROTOCOL=http\u0022 -e \u0022ZIPKIN_SERVICE_PROTOCOL=http\u0022 -e \u0022SERVICE__ZIPKIN__PORT=9411\u0022 -e \u0022ZIPKIN_SERVICE_PORT=9411\u0022 -e \u0022SERVICE__ZIPKIN__HOST=host.docker.internal\u0022 -e \u0022ZIPKIN_SERVICE_HOST=host.docker.internal\u0022 -e \u0022APP_INSTANCE=postgres_b79561e2-0\u0022 -e \u0022CONTAINER_HOST=host.docker.internal\u0022  -p 5432:5432 --name postgres_b79561e2-0 --restart=unless-stopped --network tye_network_f5071bd2-d --network-alias postgres postgres ",
        "containerId": null,
        "dockerNetwork": "tye_network_f5071bd2-d",
        "dockerNetworkAlias": "postgres",
        "name": "postgres_b79561e2-0",
        "ports": [
          5432
        ],
        "exitCode": null,
        "pid": null,
        "environment": {
          "PORT": "5432",
          "PROXY_PORT": "5432:5432",
          "POSTGRES_PASSWORD": "pass@word1",
          "CONNECTIONSTRINGS__POSTGRES": "Server=host.docker.internal;Port=5432;User Id=postgres;Password=pass@word1;",
          "SERVICE__ESTIMATOR-API__PROTOCOL": "http",
          "ESTIMATOR-API_SERVICE_PROTOCOL": "http",
          "SERVICE__ESTIMATOR-API__PORT": "5051",
          "ESTIMATOR-API_SERVICE_PORT": "5051",
          "SERVICE__ESTIMATOR-API__HOST": "host.docker.internal",
          "ESTIMATOR-API_SERVICE_HOST": "host.docker.internal",
          "SERVICE__GATEWAY__PROTOCOL": "http",
          "GATEWAY_SERVICE_PROTOCOL": "http",
          "SERVICE__GATEWAY__PORT": "5054",
          "GATEWAY_SERVICE_PORT": "5054",
          "SERVICE__GATEWAY__HOST": "host.docker.internal",
          "GATEWAY_SERVICE_HOST": "host.docker.internal",
          "CONNECTIONSTRINGS__REDIS": "host.docker.internal:6379",
          "SERVICE__RABBITMQ__RABBIT__PROTOCOL": "rabbitmq",
          "RABBITMQ_RABBIT_SERVICE_PROTOCOL": "rabbitmq",
          "SERVICE__RABBITMQ__RABBIT__PORT": "5672",
          "RABBITMQ_RABBIT_SERVICE_PORT": "5672",
          "SERVICE__RABBITMQ__RABBIT__HOST": "host.docker.internal",
          "RABBITMQ_RABBIT_SERVICE_HOST": "host.docker.internal",
          "SERVICE__RABBITMQ__MANAGEMENT__PORT": "15672",
          "RABBITMQ_MANAGEMENT_SERVICE_PORT": "15672",
          "SERVICE__RABBITMQ__MANAGEMENT__HOST": "host.docker.internal",
          "RABBITMQ_MANAGEMENT_SERVICE_HOST": "host.docker.internal",
          "SERVICE__ZIPKIN__PROTOCOL": "http",
          "ZIPKIN_SERVICE_PROTOCOL": "http",
          "SERVICE__ZIPKIN__PORT": "9411",
          "ZIPKIN_SERVICE_PORT": "9411",
          "SERVICE__ZIPKIN__HOST": "host.docker.internal",
          "ZIPKIN_SERVICE_HOST": "host.docker.internal",
          "APP_INSTANCE": "postgres_b79561e2-0",
          "CONTAINER_HOST": "host.docker.internal"
        },
        "state": "added"
      }
    }
  },
  {
    "description": {
      "name": "rabbitmq",
      "replicas": 1,
      "runInfo": {
        "type": "docker",
        "args": null,
        "build": false,
        "project": null,
        "workingDirectory": null,
        "volumeMappings": [],
        "image": "rabbitmq:3-management",
        "executable": null
      },
      "bindings": [
        {
          "name": "rabbit",
          "connectionString": null,
          "autoAssignPort": false,
          "port": 5672,
          "containerPort": null,
          "host": null,
          "protocol": "rabbitmq"
        },
        {
          "name": "management",
          "connectionString": null,
          "autoAssignPort": false,
          "port": 15672,
          "containerPort": null,
          "host": null,
          "protocol": null
        }
      ],
      "configuration": []
    },
    "serviceSource": "configuration",
    "serviceType": "container",
    "restarts": 0,
    "status": {
      "projectFilePath": null,
      "executablePath": null,
      "args": null,
      "workingDirectory": null
    },
    "replicas": {
      "rabbitmq_6f968813-4": {
        "dockerCommand": "run -d   -e \u0022PORT=5672;15672\u0022 -e \u0022PROXY_PORT=5672:5672;15672:15672\u0022 -e \u0022SERVICE__RABBITMQ__RABBIT__PROTOCOL=rabbitmq\u0022 -e \u0022RABBITMQ_RABBIT_SERVICE_PROTOCOL=rabbitmq\u0022 -e \u0022SERVICE__RABBITMQ__RABBIT__PORT=5672\u0022 -e \u0022RABBITMQ_RABBIT_SERVICE_PORT=5672\u0022 -e \u0022SERVICE__RABBITMQ__RABBIT__HOST=host.docker.internal\u0022 -e \u0022RABBITMQ_RABBIT_SERVICE_HOST=host.docker.internal\u0022 -e \u0022SERVICE__RABBITMQ__MANAGEMENT__PORT=15672\u0022 -e \u0022RABBITMQ_MANAGEMENT_SERVICE_PORT=15672\u0022 -e \u0022SERVICE__RABBITMQ__MANAGEMENT__HOST=host.docker.internal\u0022 -e \u0022RABBITMQ_MANAGEMENT_SERVICE_HOST=host.docker.internal\u0022 -e \u0022SERVICE__ESTIMATOR-API__PROTOCOL=http\u0022 -e \u0022ESTIMATOR-API_SERVICE_PROTOCOL=http\u0022 -e \u0022SERVICE__ESTIMATOR-API__PORT=5051\u0022 -e \u0022ESTIMATOR-API_SERVICE_PORT=5051\u0022 -e \u0022SERVICE__ESTIMATOR-API__HOST=host.docker.internal\u0022 -e \u0022ESTIMATOR-API_SERVICE_HOST=host.docker.internal\u0022 -e \u0022SERVICE__GATEWAY__PROTOCOL=http\u0022 -e \u0022GATEWAY_SERVICE_PROTOCOL=http\u0022 -e \u0022SERVICE__GATEWAY__PORT=5054\u0022 -e \u0022GATEWAY_SERVICE_PORT=5054\u0022 -e \u0022SERVICE__GATEWAY__HOST=host.docker.internal\u0022 -e \u0022GATEWAY_SERVICE_HOST=host.docker.internal\u0022 -e \u0022CONNECTIONSTRINGS__REDIS=host.docker.internal:6379\u0022 -e \u0022CONNECTIONSTRINGS__POSTGRES=Server=host.docker.internal;Port=5432;User Id=postgres;Password=pass@word1;\u0022 -e \u0022SERVICE__ZIPKIN__PROTOCOL=http\u0022 -e \u0022ZIPKIN_SERVICE_PROTOCOL=http\u0022 -e \u0022SERVICE__ZIPKIN__PORT=9411\u0022 -e \u0022ZIPKIN_SERVICE_PORT=9411\u0022 -e \u0022SERVICE__ZIPKIN__HOST=host.docker.internal\u0022 -e \u0022ZIPKIN_SERVICE_HOST=host.docker.internal\u0022 -e \u0022APP_INSTANCE=rabbitmq_6f968813-4\u0022 -e \u0022CONTAINER_HOST=host.docker.internal\u0022  -p 5672:5672 -p 15672:15672 --name rabbitmq_6f968813-4 --restart=unless-stopped --network tye_network_f5071bd2-d --network-alias rabbitmq rabbitmq:3-management ",
        "containerId": null,
        "dockerNetwork": "tye_network_f5071bd2-d",
        "dockerNetworkAlias": "rabbitmq",
        "name": "rabbitmq_6f968813-4",
        "ports": [
          5672,
          15672
        ],
        "exitCode": null,
        "pid": null,
        "environment": {
          "PORT": "5672;15672",
          "PROXY_PORT": "5672:5672;15672:15672",
          "SERVICE__RABBITMQ__RABBIT__PROTOCOL": "rabbitmq",
          "RABBITMQ_RABBIT_SERVICE_PROTOCOL": "rabbitmq",
          "SERVICE__RABBITMQ__RABBIT__PORT": "5672",
          "RABBITMQ_RABBIT_SERVICE_PORT": "5672",
          "SERVICE__RABBITMQ__RABBIT__HOST": "host.docker.internal",
          "RABBITMQ_RABBIT_SERVICE_HOST": "host.docker.internal",
          "SERVICE__RABBITMQ__MANAGEMENT__PORT": "15672",
          "RABBITMQ_MANAGEMENT_SERVICE_PORT": "15672",
          "SERVICE__RABBITMQ__MANAGEMENT__HOST": "host.docker.internal",
          "RABBITMQ_MANAGEMENT_SERVICE_HOST": "host.docker.internal",
          "SERVICE__ESTIMATOR-API__PROTOCOL": "http",
          "ESTIMATOR-API_SERVICE_PROTOCOL": "http",
          "SERVICE__ESTIMATOR-API__PORT": "5051",
          "ESTIMATOR-API_SERVICE_PORT": "5051",
          "SERVICE__ESTIMATOR-API__HOST": "host.docker.internal",
          "ESTIMATOR-API_SERVICE_HOST": "host.docker.internal",
          "SERVICE__GATEWAY__PROTOCOL": "http",
          "GATEWAY_SERVICE_PROTOCOL": "http",
          "SERVICE__GATEWAY__PORT": "5054",
          "GATEWAY_SERVICE_PORT": "5054",
          "SERVICE__GATEWAY__HOST": "host.docker.internal",
          "GATEWAY_SERVICE_HOST": "host.docker.internal",
          "CONNECTIONSTRINGS__REDIS": "host.docker.internal:6379",
          "CONNECTIONSTRINGS__POSTGRES": "Server=host.docker.internal;Port=5432;User Id=postgres;Password=pass@word1;",
          "SERVICE__ZIPKIN__PROTOCOL": "http",
          "ZIPKIN_SERVICE_PROTOCOL": "http",
          "SERVICE__ZIPKIN__PORT": "9411",
          "ZIPKIN_SERVICE_PORT": "9411",
          "SERVICE__ZIPKIN__HOST": "host.docker.internal",
          "ZIPKIN_SERVICE_HOST": "host.docker.internal",
          "APP_INSTANCE": "rabbitmq_6f968813-4",
          "CONTAINER_HOST": "host.docker.internal"
        },
        "state": "added"
      }
    }
  },
  {
    "description": {
      "name": "redis",
      "replicas": 1,
      "runInfo": {
        "type": "docker",
        "args": null,
        "build": false,
        "project": null,
        "workingDirectory": null,
        "volumeMappings": [],
        "image": "redis",
        "executable": null
      },
      "bindings": [
        {
          "name": null,
          "connectionString": "${host}:${port}",
          "autoAssignPort": false,
          "port": 6379,
          "containerPort": null,
          "host": null,
          "protocol": null
        }
      ],
      "configuration": []
    },
    "serviceSource": "configuration",
    "serviceType": "container",
    "restarts": 0,
    "status": {
      "projectFilePath": null,
      "executablePath": null,
      "args": null,
      "workingDirectory": null
    },
    "replicas": {
      "redis_c7efc7ad-6": {
        "dockerCommand": "run -d   -e \u0022PORT=6379\u0022 -e \u0022PROXY_PORT=6379:6379\u0022 -e \u0022CONNECTIONSTRINGS__REDIS=host.docker.internal:6379\u0022 -e \u0022SERVICE__ESTIMATOR-API__PROTOCOL=http\u0022 -e \u0022ESTIMATOR-API_SERVICE_PROTOCOL=http\u0022 -e \u0022SERVICE__ESTIMATOR-API__PORT=5051\u0022 -e \u0022ESTIMATOR-API_SERVICE_PORT=5051\u0022 -e \u0022SERVICE__ESTIMATOR-API__HOST=host.docker.internal\u0022 -e \u0022ESTIMATOR-API_SERVICE_HOST=host.docker.internal\u0022 -e \u0022SERVICE__GATEWAY__PROTOCOL=http\u0022 -e \u0022GATEWAY_SERVICE_PROTOCOL=http\u0022 -e \u0022SERVICE__GATEWAY__PORT=5054\u0022 -e \u0022GATEWAY_SERVICE_PORT=5054\u0022 -e \u0022SERVICE__GATEWAY__HOST=host.docker.internal\u0022 -e \u0022GATEWAY_SERVICE_HOST=host.docker.internal\u0022 -e \u0022CONNECTIONSTRINGS__POSTGRES=Server=host.docker.internal;Port=5432;User Id=postgres;Password=pass@word1;\u0022 -e \u0022SERVICE__RABBITMQ__RABBIT__PROTOCOL=rabbitmq\u0022 -e \u0022RABBITMQ_RABBIT_SERVICE_PROTOCOL=rabbitmq\u0022 -e \u0022SERVICE__RABBITMQ__RABBIT__PORT=5672\u0022 -e \u0022RABBITMQ_RABBIT_SERVICE_PORT=5672\u0022 -e \u0022SERVICE__RABBITMQ__RABBIT__HOST=host.docker.internal\u0022 -e \u0022RABBITMQ_RABBIT_SERVICE_HOST=host.docker.internal\u0022 -e \u0022SERVICE__RABBITMQ__MANAGEMENT__PORT=15672\u0022 -e \u0022RABBITMQ_MANAGEMENT_SERVICE_PORT=15672\u0022 -e \u0022SERVICE__RABBITMQ__MANAGEMENT__HOST=host.docker.internal\u0022 -e \u0022RABBITMQ_MANAGEMENT_SERVICE_HOST=host.docker.internal\u0022 -e \u0022SERVICE__ZIPKIN__PROTOCOL=http\u0022 -e \u0022ZIPKIN_SERVICE_PROTOCOL=http\u0022 -e \u0022SERVICE__ZIPKIN__PORT=9411\u0022 -e \u0022ZIPKIN_SERVICE_PORT=9411\u0022 -e \u0022SERVICE__ZIPKIN__HOST=host.docker.internal\u0022 -e \u0022ZIPKIN_SERVICE_HOST=host.docker.internal\u0022 -e \u0022APP_INSTANCE=redis_c7efc7ad-6\u0022 -e \u0022CONTAINER_HOST=host.docker.internal\u0022  -p 6379:6379 --name redis_c7efc7ad-6 --restart=unless-stopped --network tye_network_f5071bd2-d --network-alias redis redis ",
        "containerId": null,
        "dockerNetwork": "tye_network_f5071bd2-d",
        "dockerNetworkAlias": "redis",
        "name": "redis_c7efc7ad-6",
        "ports": [
          6379
        ],
        "exitCode": null,
        "pid": null,
        "environment": {
          "PORT": "6379",
          "PROXY_PORT": "6379:6379",
          "CONNECTIONSTRINGS__REDIS": "host.docker.internal:6379",
          "SERVICE__ESTIMATOR-API__PROTOCOL": "http",
          "ESTIMATOR-API_SERVICE_PROTOCOL": "http",
          "SERVICE__ESTIMATOR-API__PORT": "5051",
          "ESTIMATOR-API_SERVICE_PORT": "5051",
          "SERVICE__ESTIMATOR-API__HOST": "host.docker.internal",
          "ESTIMATOR-API_SERVICE_HOST": "host.docker.internal",
          "SERVICE__GATEWAY__PROTOCOL": "http",
          "GATEWAY_SERVICE_PROTOCOL": "http",
          "SERVICE__GATEWAY__PORT": "5054",
          "GATEWAY_SERVICE_PORT": "5054",
          "SERVICE__GATEWAY__HOST": "host.docker.internal",
          "GATEWAY_SERVICE_HOST": "host.docker.internal",
          "CONNECTIONSTRINGS__POSTGRES": "Server=host.docker.internal;Port=5432;User Id=postgres;Password=pass@word1;",
          "SERVICE__RABBITMQ__RABBIT__PROTOCOL": "rabbitmq",
          "RABBITMQ_RABBIT_SERVICE_PROTOCOL": "rabbitmq",
          "SERVICE__RABBITMQ__RABBIT__PORT": "5672",
          "RABBITMQ_RABBIT_SERVICE_PORT": "5672",
          "SERVICE__RABBITMQ__RABBIT__HOST": "host.docker.internal",
          "RABBITMQ_RABBIT_SERVICE_HOST": "host.docker.internal",
          "SERVICE__RABBITMQ__MANAGEMENT__PORT": "15672",
          "RABBITMQ_MANAGEMENT_SERVICE_PORT": "15672",
          "SERVICE__RABBITMQ__MANAGEMENT__HOST": "host.docker.internal",
          "RABBITMQ_MANAGEMENT_SERVICE_HOST": "host.docker.internal",
          "SERVICE__ZIPKIN__PROTOCOL": "http",
          "ZIPKIN_SERVICE_PROTOCOL": "http",
          "SERVICE__ZIPKIN__PORT": "9411",
          "ZIPKIN_SERVICE_PORT": "9411",
          "SERVICE__ZIPKIN__HOST": "host.docker.internal",
          "ZIPKIN_SERVICE_HOST": "host.docker.internal",
          "APP_INSTANCE": "redis_c7efc7ad-6",
          "CONTAINER_HOST": "host.docker.internal"
        },
        "state": "added"
      }
    }
  },
  {
    "description": {
      "name": "zipkin",
      "replicas": 1,
      "runInfo": {
        "type": "docker",
        "args": null,
        "build": false,
        "project": null,
        "workingDirectory": null,
        "volumeMappings": [],
        "image": "openzipkin/zipkin",
        "executable": null
      },
      "bindings": [
        {
          "name": null,
          "connectionString": null,
          "autoAssignPort": false,
          "port": 9411,
          "containerPort": 9411,
          "host": null,
          "protocol": "http"
        }
      ],
      "configuration": []
    },
    "serviceSource": "extension",
    "serviceType": "container",
    "restarts": 0,
    "status": {
      "projectFilePath": null,
      "executablePath": null,
      "args": null,
      "workingDirectory": null
    },
    "replicas": {
      "zipkin_830a8900-7": {
        "dockerCommand": "run -d   -e \u0022PORT=9411\u0022 -e \u0022PROXY_PORT=9411:9411\u0022 -e \u0022SERVICE__ZIPKIN__PROTOCOL=http\u0022 -e \u0022ZIPKIN_SERVICE_PROTOCOL=http\u0022 -e \u0022SERVICE__ZIPKIN__PORT=9411\u0022 -e \u0022ZIPKIN_SERVICE_PORT=9411\u0022 -e \u0022SERVICE__ZIPKIN__HOST=host.docker.internal\u0022 -e \u0022ZIPKIN_SERVICE_HOST=host.docker.internal\u0022 -e \u0022APP_INSTANCE=zipkin_830a8900-7\u0022 -e \u0022CONTAINER_HOST=host.docker.internal\u0022  -p 9411:9411 --name zipkin_830a8900-7 --restart=unless-stopped --network tye_network_f5071bd2-d --network-alias zipkin openzipkin/zipkin ",
        "containerId": null,
        "dockerNetwork": "tye_network_f5071bd2-d",
        "dockerNetworkAlias": "zipkin",
        "name": "zipkin_830a8900-7",
        "ports": [
          9411
        ],
        "exitCode": null,
        "pid": null,
        "environment": {
          "PORT": "9411",
          "PROXY_PORT": "9411:9411",
          "SERVICE__ZIPKIN__PROTOCOL": "http",
          "ZIPKIN_SERVICE_PROTOCOL": "http",
          "SERVICE__ZIPKIN__PORT": "9411",
          "ZIPKIN_SERVICE_PORT": "9411",
          "SERVICE__ZIPKIN__HOST": "host.docker.internal",
          "ZIPKIN_SERVICE_HOST": "host.docker.internal",
          "APP_INSTANCE": "zipkin_830a8900-7",
          "CONTAINER_HOST": "host.docker.internal"
        },
        "state": "added"
      }
    }
  }
]

from tye-plugin.

rafaelldi avatar rafaelldi commented on June 30, 2024

Yes, you're right. Unfortunately, I didn't test the plugin with version 0.9.0 of tye. I've left some comments in the PR. Thanks again.

from tye-plugin.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.