From 76b50e888f6c56c21ddd55d8c4f0050634de6d8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Tue, 17 Sep 2024 18:22:40 +0200 Subject: [PATCH 1/2] feat: start API Platform on a non-standard port --- distribution/index.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/distribution/index.md b/distribution/index.md index c91cac6a5e7..4a1271b132e 100644 --- a/distribution/index.md +++ b/distribution/index.md @@ -85,7 +85,14 @@ Then, start Docker Compose in detached mode: docker compose up --wait ``` -**Tip:** Be sure that the ports `80`, `443`, and `5432` of the host are not already in use. The usual offenders are Apache, NGINX, and Postgres. If they are running, stop them and run `docker compose up --wait` again. +> [!TIP] +> +>Be sure that the ports `80`, `443`, and `5432` of the host are not already in use. The usual offenders are Apache, NGINX, and Postgres. If they are running, stop them and run `docker compose up --wait` again. +> +> Alternatively, run the following command to start the web server on port `8080` with HTTPS disabled: +> ```console +> SERVER_NAME=localhost:80 HTTP_PORT=8080 TRUSTED_HOSTS=localhost docker compose up --wait` +> ``` This starts the following services: From e8dbc3c856c02d5ff8ea9d9c95066876acbf902a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Tue, 17 Sep 2024 18:26:43 +0200 Subject: [PATCH 2/2] minor anchor fix --- core/index.md | 4 ++-- distribution/index.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/index.md b/core/index.md index e8c04e79196..9ffe95681f3 100644 --- a/core/index.md +++ b/core/index.md @@ -43,6 +43,6 @@ This bundle is extensively tested (unit and functional). The [`Fixtures/` direct ## Screencasts -

SymfonyCasts, API Platform screencasts

+

SymfonyCasts, API Platform screencasts

-The easiest and funniest way to learn how to use API Platform is to watch [the more than 60 screencasts available on SymfonyCasts](https://symfonycasts.com/tracks/rest?cid=apip#api-platform)! +The easiest and funniest way to learn how to use API Platform is to watch [the more than 60 screencasts available on SymfonyCasts](https://symfonycasts.com/tracks/rest?cid=apip#api-platform-3)! diff --git a/distribution/index.md b/distribution/index.md index 4a1271b132e..b1e9437194c 100644 --- a/distribution/index.md +++ b/distribution/index.md @@ -800,6 +800,6 @@ and [browse it online](https://demo.api-platform.com). ## Screencasts -

SymfonyCasts, API Platform screencasts

+

SymfonyCasts, API Platform screencasts

-The easiest and funniest way to learn how to use API Platform is to watch [the more than 60 screencasts available on SymfonyCasts](https://symfonycasts.com/tracks/rest?cid=apip#api-platform)! +The easiest and funniest way to learn how to use API Platform is to watch [the more than 60 screencasts available on SymfonyCasts](https://symfonycasts.com/tracks/rest?cid=apip#api-platform-3)!