Hey all, I am trying to self-host growthbook on an...
# ask-questions
s
Hey all, I am trying to self-host growthbook on an ec2 instance. My instances public IP is 13.200.67.73 Here is my compose file:
Copy code
# 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://13.200.67.73:3000>
      - API_HOST=<http://13.200.67.73:3100>
    volumes:
      - uploads:/usr/local/src/app/packages/back-end/uploads
volumes:
  uploads:
  mongodata:
As I can see that the docker container is up on 3000 and 3100. I have also allowed inbound to port 3000 and 3100 on my ec2 security group. However, I am getting this error when I try to open the app page at http://13.200.67.73:3000
When I try to access it using curl locally
@fresh-football-47124