https://www.growthbook.io/ logo
d

delightful-daybreak-59517

02/24/2023, 12:46 AM
Hello team! I’ve been struggling with deploying GB on remote server with docker (+ docker compose). Seems like it’s due to misconfiguration of
API_HOST
or
APP_ORIGIN
- yet I’ve tried all kinds of url but had no luck. Could you help me please? Thanks
f

fresh-football-47124

02/24/2023, 1:08 AM
Hello Hoon Wee! welcome - happy to help
🙌 1
can you access the API_HOST directly?
if its working, you should see a small json object
d

delightful-daybreak-59517

02/24/2023, 2:03 AM
Let me check it… thanks
I can see this object,
Copy code
{
  "level": 30,
  "time": 1677128199227,
  "pid": 57,
  "hostname": "fcd8a1f8f588",
  "msg": "Back-end is running at <http://localhost:3100> in production mode. Press CTRL-C to stop"
}
f

fresh-football-47124

02/24/2023, 2:50 AM
okay
can you share your docker-compose file? looks like something is off there with the API_HOST
d

delightful-daybreak-59517

02/24/2023, 2:55 AM
sure
Though I might have to reveal only the relevant part of that file - is that okay with you?
f

fresh-football-47124

02/24/2023, 2:57 AM
oka
or you can dm me
1
3 Views