"Error connecting to the GrowthBook API" on self h...
# ask-questions
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
Did you solve your error?
+1 I am getting the same error can someone please help me here?