diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-03-23 22:10:40 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-03-23 22:10:40 +0100 |
| commit | 4d261ea8b1b37df552a31e5f098d4dfd85973595 (patch) | |
| tree | 299a4d88073eb391a235ee7a407d081b2c62abe5 | |
| parent | 3a20d3ef2d6fcb6c77ca5ad6aeaf6179d23ecb3e (diff) | |
docs: update Docker install
| -rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |
