Adding --detach option to the command

This commit is contained in:
Maxime Hélias
2023-10-02 10:52:32 +02:00
committed by Maxime Helias
parent 12a36a74f5
commit d620a5102a
4 changed files with 10 additions and 10 deletions

View File

@@ -61,7 +61,7 @@ Go into the directory containing your project (`<project-name>`), and start the
SERVER_NAME=your-domain-name.example.com \
APP_SECRET=ChangeMe \
CADDY_MERCURE_JWT_SECRET=ChangeThisMercureHubJWTSecretKey \
docker compose -f docker-compose.yml -f docker-compose.prod.yml up --wait
docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d --wait
```
Be sure to replace `your-domain-name.example.com` by your actual domain name and to set the values of `APP_SECRET`, `CADDY_MERCURE_JWT_SECRET` to cryptographically secure random values.
@@ -77,7 +77,7 @@ Alternatively, if you don't want to expose an HTTPS server but only an HTTP one,
SERVER_NAME=:80 \
APP_SECRET=ChangeMe \
CADDY_MERCURE_JWT_SECRET=ChangeThisMercureHubJWTSecretKey \
docker compose -f docker-compose.yml -f docker-compose.prod.yml up --wait
docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d --wait
```
## Deploying on Multiple Nodes