Yeah, as long as the Trains UI running on your browser can access the API using api.yourdomain
, this can be redirected to any port you choose to configure in the docker-compose 🙂
Thank you! So, basically i should create configuration with 8108 for subdomain for API?
Hi MistakenStarfish81 ,
In the current version the UI is dependent on the Trains API Server component being available in port 8008
, which explains why you could access the UI itself but the UI wasn't able to access the underlying server API to create projects, receive credentials etc.
We plan to change that in future versions.
Meanwhile, you can use subdomains if you want more flexibility (see https://allegro.ai/docs/deploying_trains/trains_server_config/ )