diff --git a/packages/server/README.md b/packages/server/README.md index e43ed14ce3..36c6c4aa16 100644 --- a/packages/server/README.md +++ b/packages/server/README.md @@ -44,7 +44,7 @@ POSTGRES_PORT=5432 POSTGRES_HOST=localhost ``` -Make sure that the provided database and user exist as the server will not create them. +Make sure that the provided database and user exist as the server will not create them. When running on macOS or Windows through Docker Desktop, a mapping of localhost is made automatically. On Linux, you can add `--net=host --add-host=host.docker.internal:127.0.0.1` to the `docker run` command line to make the mapping happen. Any other `POSTGRES_HOST` than localhost or 127.0.0.1 should work as expected without further action. ### Using docker-compose