From 79a930597df6e91a24114199d5f97eec8da7b820 Mon Sep 17 00:00:00 2001 From: Daniel Landau Date: Sat, 18 Dec 2021 17:16:57 +0200 Subject: [PATCH] Doc: Add instructions for Docker on Linux (#5864) --- packages/server/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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