I am unable to see the UI page ( see attached)
# ask-questions
e
I am unable to see the UI page ( see attached)
f
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
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