https://www.growthbook.io/ logo
#ask-questions
"Error connecting to the GrowthBook API" on self hosting docs
# ask-questions
i

incalculable-vase-75518

09/18/2023, 6:30 PM
Hi, I'm following the self hosting documentation [1] using docker compose on localhost. When I try to access http://localhost:3000, I'm getting: Error connecting to the GrowthBook API at http://localhost:3100. Received the following error message: Failed to fetch Anyone can help me? Thanks in advance [docker-compose.yml] version: "3" services: mongo: image: "mongo:latest" environment: - MONGO_INITDB_ROOT_USERNAME=root - MONGO_INITDB_ROOT_PASSWORD=password volumes: - mongodata:/data/db growthbook: image: "growthbook/growthbook:latest" ports: - "3000:3000" - "3100:3100" depends_on: - mongo environment: - MONGODB_URI=mongodb://root:password@mongo:27017/growthbook?authSource=admin - APP_ORIGIN=http://localhost:3000 - API_HOST=http://localhost:3100 volumes: - uploads:/usr/local/src/app/packages/back-end/uploads volumes: uploads: mongodata: [1] https://docs.growthbook.io/self-host
c

cool-sugar-50297

09/26/2023, 5:48 PM
Did you solve your error?
f

full-honey-74660

11/23/2023, 12:04 PM
+1 I am getting the same error can someone please help me here?
14 Views