https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
e

early-airplane-93166

07/10/2022, 1:18 PM
I am unable to see the UI page ( see attached)
f

future-teacher-7046

07/10/2022, 1:23 PM
It doesn't seem to be picking up your API_HOST environment variable and using the fallback localhost instead. Have you restarted your container since updating the environment variables?
Oh, I just noticed you added API_HOST and APP_ORIGIN environment variables to the Mongo container. It needs to be added to the GrowthBook container instead
e

early-airplane-93166

07/10/2022, 1:28 PM
you mean to change the file like that:
mongo_growthbook: image: mongo:latest container_name: mongo_growthbook environment: - MONGO_INITDB_ROOT_USERNAME=root - MONGO_INITDB_ROOT_PASSWORD=password ports: - 27018:27017 growthbook: image: "growthbook/growthbook:latest" environment: - APP_ORIGIN=http://20.107.87.21:3000 - API_HOST=http://20.107.87.21:3100 ports: - "3000:3000" - "3100:3100" depends_on: - mongo_growthbook environment: - MONGODB_URI=mongodb://root:password@mongo_growthbook:27017/ volumes: - ../data/uploads:/data/uploads
nothing changed
the same problem
mongo_growthbook: image: mongo:latest container_name: mongo_growthbook environment: - MONGO_INITDB_ROOT_USERNAME=root - MONGO_INITDB_ROOT_PASSWORD=password ports: - 27018:27017 growthbook: image: "growthbook/growthbook:latest" ports: - "3000:3000" - "3100:3100" depends_on: - mongo_growthbook environment: - MONGODB_URI=mongodb://root:password@mongo_growthbook:27017/ - APP_ORIGIN=http://20.107.87.21:3000 - API_HOST=http://20.107.87.21:3100 volumes: - ../data/uploads:/data/uploads
24 Views