summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-03-23 22:10:40 +0100
committerArmand Philippot <git@armandphilippot.com>2022-03-23 22:10:40 +0100
commit4d261ea8b1b37df552a31e5f098d4dfd85973595 (patch)
tree299a4d88073eb391a235ee7a407d081b2c62abe5 /README.md
parent3a20d3ef2d6fcb6c77ca5ad6aeaf6179d23ecb3e (diff)
docs: update Docker install
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
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
`<service-name>` 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