mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 13:19:39 +02:00
docs: add dev containers config gotcha in README (#479)
* docs: add dev containers config gotcha in README * Add comment in `.env.example` --------- Signed-off-by: Zach Gollwitzer <zach.gollwitzer@gmail.com> Co-authored-by: Zach Gollwitzer <zach.gollwitzer@gmail.com>
This commit is contained in:
parent
fd8ce1b32a
commit
42631eafd3
2 changed files with 4 additions and 2 deletions
|
@ -25,7 +25,7 @@ SMTP_PASSWORD=
|
|||
TLS=true
|
||||
|
||||
# Database Configuration
|
||||
DB_HOST=localhost
|
||||
DB_HOST=localhost # May need to be changed to `DB_HOST=db` if using devcontainer
|
||||
DB_PORT=5432
|
||||
POSTGRES_PASSWORD=postgres
|
||||
POSTGRES_USER=postgres
|
|
@ -56,6 +56,8 @@ If you'd like multi-currency support, there are a few extra steps to follow.
|
|||
|
||||
This is 100% optional and meant for devs who don't want to worry about installing requirements manually for their platform. You can follow [this guide](https://code.visualstudio.com/docs/devcontainers/containers) to learn more about Dev Containers.
|
||||
|
||||
If you run into `could not connect to server` errors, you may need to change your `.env`'s `DB_HOST` environment variable value to `db` to point to the Postgres container.
|
||||
|
||||
#### Mac
|
||||
|
||||
Please visit our [Mac dev setup guide](https://github.com/maybe-finance/maybe/wiki/Mac-Dev-Setup-Guide).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue