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
I Tried To Run Trains-Server In Docker But I Created 3 Subdomains (Api/Files/Trains)....But Now I Have Problem That Trains Webserver Always Tries To Connect To Webserver:8008 Instead Of Api:80

i tried to run trains-server in docker but i created 3 subdomains (api/files/trains)....but now i have problem that trains webserver always tries to connect to webserver:8008 instead of api:80

  
  
Posted 4 years ago
Votes Newest

Answers 14


problem is only that in the web frontend...the javascrupt still tries to connect to port 8008

  
  
Posted 4 years ago

i added to api file and webserver an additional network...and there is a http proxy/balancer....but that all works...i can reach all 3 services by https

  
  
Posted 4 years ago

like the allegro demo server is connecting to https://demoapi.trains.allegro.ai/ ....where is that configured?

  
  
Posted 4 years ago

if server is on http://trains.mydomain.com it tries to connect to trains.mydomain.com:8008

  
  
Posted 4 years ago

ok perfect...thank you

  
  
Posted 4 years ago

Sure 🙂 - let me know how it works out

  
  
Posted 4 years ago

ah...ok then i rename it and it should work?

  
  
Posted 4 years ago

thank you so much

  
  
Posted 4 years ago

works!!!

  
  
Posted 4 years ago

is there a file where i can change the destination for the api server?

  
  
Posted 4 years ago

but it should connect to http://trains-api.mydomain.com

  
  
Posted 4 years ago

Hi AgitatedPigeon83 , can you please share the exact changes you made in your docker compose? How exactly did you run?

  
  
Posted 4 years ago

Currently, the web-ui can only use the subdomains demoapp/demoapi/demofiles, app/api/files or the ports 8080/8008/8081

  
  
Posted 4 years ago
960 Views
14 Answers
4 years ago
one year ago
Tags