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

@@ -8,10 +8,10 @@ For instance, use the following command to install Symfony 5.4:
On Linux:
SYMFONY_VERSION=5.4.* docker compose up --wait
SYMFONY_VERSION=5.4.* docker compose up -d --wait
On Windows:
set SYMFONY_VERSION=5.4.*&& docker compose up --wait&set SYMFONY_VERSION=
set SYMFONY_VERSION=5.4.*&& docker compose up -d --wait&set SYMFONY_VERSION=
## Installing Development Versions of Symfony
@@ -22,17 +22,17 @@ For instance, use the following command to use the development branch of Symfony
On Linux:
STABILITY=dev docker compose up --wait
STABILITY=dev docker compose up -d --wait
On Windows:
set STABILITY=dev&& docker compose up --wait&set STABILITY=
set STABILITY=dev&& docker compose up -d --wait&set STABILITY=
## Customizing the Server Name
Use the `SERVER_NAME` environment variable to define your custom server name(s).
SERVER_NAME="app.localhost" docker compose up --wait
SERVER_NAME="app.localhost" docker compose up -d --wait
*Tips: You can define your server name variable in your `.env` file to keep it at each up*
@@ -40,7 +40,7 @@ Use the `SERVER_NAME` environment variable to define your custom server name(s).
Use the environment variables `HTTP_PORT`, `HTTPS_PORT` and/or `HTTP3_PORT` to adjust the ports to your needs, e.g.
HTTP_PORT=8000 HTTPS_PORT=4443 HTTP3_PORT=4443 docker compose up --wait
HTTP_PORT=8000 HTTPS_PORT=4443 HTTP3_PORT=4443 docker compose up -d --wait
to access your application on [https://localhost:4443](https://localhost:4443).