feat: make HTTP ports variable (#195)

This commit is contained in:
Martin Güthler
2021-12-10 19:00:31 +01:00
committed by GitHub
parent 49e28e8c86
commit 28624621ca
2 changed files with 11 additions and 3 deletions

View File

@@ -31,3 +31,11 @@ Use the `SERVER_NAME` environment variable to define your custom server name(s).
SERVER_NAME="symfony.wip, caddy:80" docker-compose up --build
If you use Mercure, keep `caddy:80` in the list to allow the PHP container to request the caddy service.
## Using custom HTTP ports
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 --build
to access your appplication on [https://localhost:4443](https://localhost:4443).