busy-air-96466
03/02/2023, 4:55 PMversion: "3"
services:
mongo:
image: "mongo:latest"
environment:
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_ROOT_PASSWORD=password
growthbook:
platform: linux/amd64
image: "growthbook/growthbook:latest"
ports:
- "4000:3000"
- "4100:3100"
depends_on:
- mongo
environment:
- MONGODB_URI=<mongodb://root:password@mongo:27017/>
- APP_ORIGIN=localhost:4000
- API_HOST=localhost:4100
volumes:
- uploads:/usr/local/src/app/packages/back-end/uploads
volumes:
uploads:
Can anybody see where I’ve gone wrong? I’ve tried http://localhost:4000, http://127.0.0.1:400 for the environment variables but no luck. And I’ve searched the channel but not found this exact issue. Thank you!fresh-football-47124
busy-air-96466
03/02/2023, 5:06 PMports:
- "4000:3000"
- "4100:3100"
depends_on:
- mongo
environment:
- MONGODB_URI=<mongodb://root:password@mongo:27017/>
- APP_ORIGIN=<http://localhost:4000>
- API_HOST=<http://localhost:4100>
Thanks! When things are completely new, it’s hard to know where to look for the issue. Maybe it’d be worth adding the localhost example to the doc? I expect it’s a common scenario.fresh-football-47124
Open source platform for stress free deployments, measured impact, and smarter decisions.
Powered by