Actually, I ended up figuring it out. rather than ...
# general
b
Actually, I ended up figuring it out. rather than using
Copy code
"database": {
    "host": "locahost",
    "port": 5432,
    "dbname": "medplum",
    "username": "medplum",
    "password": "medplum"
  },
Just replace
host
with your network IP. I believe you'll need to expose that port, but idk. too much time to figure it out. But this is a common docker issue.
r
We appreciate your patience with the setup, and we appreciate the feedback. Out of curiosity, have you tried the "Dev on Host" instructions (https://docs.medplum.com/contributing/dev-on-host)? Most of our dev team uses this dev setup right now, and we'd love to hear about your experience on this route if you're willing to give it a try
b
I haven't tried. I don't usually download postgres and redis on my local machine because sometimes I will have random data stashes that take too much space.
But I got it working with docker-compose so all is good
I left reasoning on why I like docker-compose more: https://github.com/medplum/medplum/pull/752
183 Views