Hi, is there a way to deploy and access growthbook...
# announcements
a
Hi, is there a way to deploy and access growthbook using docker on a subpath of a domain, like example.com/growthbook/ ?
f
its not straight forward to do this atm
a
hmm.. right. And to deploy it on one domain, how to map front-end and back-end api (ports 3000 & 3100) on same domain? I achieved this by mapping routes / to port 3000 (front-end) /api to port 3100 (api) /auth to port 3100 in nginx conf. are there other routes/paths to map to backend?
I realised it's not just two routes as we move beyond login page. Why can't we have all api routes under one path like /api? It will ease out deployment configuration with only one subdomain.domain for both frontend and backend
f
yes, that would have been easier for this use case
1
you might be able to edit the API_HOST to have a /api/, since that is used to generate the URL to fetch - I haven’t tested this
a
Tried that but no success. Thanks for your answers :)