From 1154bf90ff34245ab1c4e6ca42e596c5618a0e62 Mon Sep 17 00:00:00 2001 From: Stefan <11146296+tryallthethings@users.noreply.github.com> Date: Fri, 25 Nov 2022 15:12:55 +0100 Subject: [PATCH] Update docker.md --- source-code/docker.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source-code/docker.md b/source-code/docker.md index ebeee24d..339d0243 100644 --- a/source-code/docker.md +++ b/source-code/docker.md @@ -21,7 +21,9 @@ cd Reactive-Resume pnpm install ``` -5. Copy the `.env.example` file to `.env` in the project root and fill it with values according to your setup. To know which environment variables are required, and about what they do, head over [this section](https://docs.rxresu.me/source-code/environment-variables). For a quickstart you only need to change ```PUBLIC_URL``` and ```PUBLIC_SERVER_URL``` to the IP adress of the machine you're running the server on, ```SECRET_KEY``` and ```JWT_SECRET```. +5. Copy the `.env.example` file to `.env` in the project root and fill it with values according to your setup. To know which environment variables are required, and about what they do, head over [this section](https://docs.rxresu.me/source-code/environment-variables). For a quickstart you only need to change ```PUBLIC_URL``` and ```PUBLIC_SERVER_URL``` to the IP adress of the machine you're running the server on, ```SECRET_KEY``` and ```JWT_SECRET```. + +**Note:** For this development setup, server and client are served on the same port _(default: 3000)_. Make sure your ```PUBLIC_URL``` and ```PUBLIC_SERVER_URL``` reflect this. For ```POSTGRES_HOST``` you might need to change the value from the container name _(default: postgres)_ to _localhost_. ```bash cp .env.example .env