From 4d261ea8b1b37df552a31e5f098d4dfd85973595 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 23 Mar 2022 22:10:40 +0100 Subject: docs: update Docker install --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fda3b09..cd4277b 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,13 @@ Make sure Docker and Docker Compose are installed then, you can run: `sudo docke `` is optional. You don't need it the first time. However, if you want to rebuild and update only one container, it can be useful. -If you wish to use custom ports, you can edit your `.env` file and specify `APP_DOCKER_PORT_PROD` and `APP_DOCKER_PORT_DEV` variables. By default the ports are respectively `3000` and `3200`. +If you wish to use custom ports, you can edit your `.env` file and specify `APP_DOCKER_PORT` and `APP_STAGING_DOCKER_PORT` variables. By default the ports are respectively `3000` and `3200`. + +If you are using Docker Swarm, you can instead use the deploy script to ensure that environment variables are loaded: + +```bash +sh ./bin/deploy.sh +``` ### Without Docker -- cgit v1.2.3