This message was deleted.
# ask-questions
w
This message was deleted.
f
did you add the http:// on the APP_ORIGIN and API_HOST?
b
Hiya! I just retried this (which I already tried, honest!) and this time it worked after a couple of hard refreshes:
Copy code
ports:
  - "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.
f
148 Views