Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hey,

Hey,
I have my clearml server set up on my local machine , however I want to try clearml- serving on this machine as well;
But here's the issue:
When I run the docker-compose file while running the server the clearml-inferencing container seems to be on the same port as the server? Any workaround for this? Can I change ports and where exactly ?

  
  
Posted 2 years ago
Votes Newest

Answers 26


Wdym?

  
  
Posted 2 years ago

when you spin a container , you map a host port with a container port using -p parameter
docker run -v ~/clearml.conf:/root/clearml.conf -p 8080:8080 -e CLEARML_SERVING_TASK_ID =<service_id> -e CLEARML_SERVING_POLL_FREQ =5 clearml-serving-inference:latest
Here you map your computer's port 8080 with the container port 8080. If your 8080 port is already used, you can use another, using for example -p 8081:8080

  
  
Posted 2 years ago

Here's what I get for the initial set up stage of clearml-serving

  
  
Posted 2 years ago

can you share your logs ?

  
  
Posted 2 years ago

AgitatedDove14 are you using wsl setup?

  
  
Posted 2 years ago

Or is something wrong here

  
  
Posted 2 years ago

can you do docker ps to check if there are running containers that already bind the port ?

  
  
Posted 2 years ago

SweetBadger76 I'm following the docs, is this the expected output?

  
  
Posted 2 years ago

DefiantHippopotamus88 did you get it working?

  
  
Posted 2 years ago

So I'd have to make edits to the docker-compose file for clearml-serving; there would not be any issues arising due to that right?

  
  
Posted 2 years ago

Im using the clearml-serving for repo and running the docker-compose file there to set it tip ,
But im also running the clearml server on my machine self - hosted

  
  
Posted 2 years ago

AgitatedDove14 Doesn't look like the same error as that thread.

  
  
Posted 2 years ago

Let's maybe join our effort to get local deployment?

  
  
Posted 2 years ago

hi WickedElephant66
I have the same issue, but port is not the only problem
https://clearml.slack.com/archives/CTK20V944/p1656446563854059

  
  
Posted 2 years ago

Hey,
So I did change the host port on the docker -compose.yml file, here's the weird error:
Why is the url being parsed with “”
I have renamed example. en v to just .env so that docker -compose can recognise the env variables(—env-file never works for me)

  
  
Posted 2 years ago

at least no more auth errors

  
  
Posted 2 years ago

it worked for me with one docker-compose for all

  
  
Posted 2 years ago

I'm running the clearml server on my machine, self hosted

  
  
Posted 2 years ago

I'm not, not sure about WickedElephant66 / DefiantHippopotamus88

  
  
Posted 2 years ago

hey Martin,
DefiantHippopotamus88 joined the thread. He faced the same issue in the thread you sent
https://clearml.slack.com/archives/CTK20V944/p1656537337804619?thread_ts=1656446563.854059&cid=CTK20V944

  
  
Posted 2 years ago

TenderCoyote78 i pm you to avoid overfilling the thread here

  
  
Posted 2 years ago

Oh okay

  
  
Posted 2 years ago

Removing the “” in my env file gives me a timeout issue

  
  
Posted 2 years ago

I'm facing the issue during the initial set up of clearml serving - i.e the step where you use docker-compose to launch the serving containers

  
  
Posted 2 years ago

image

  
  
Posted 2 years ago
1K Views
26 Answers
2 years ago
8 months ago
Tags
Similar posts