Add docs for customize server name

This commit is contained in:
maxhelias 2020-06-11 19:46:15 +02:00
parent eaf5639e41
commit 293cc27ca4
2 changed files with 13 additions and 0 deletions

View File

@ -25,6 +25,12 @@ For instance, use the following command to use the `master` branch of Symfony:
STABILITY=dev docker-compose up --build
```
## Customize Server Name
Use the `SERVER_NAME` environment variable to define your custom server name.
`SERVER_NAME=symfony.wip docker-compose up --build`
## Debugging
The default Docker stack is shipped without a Xdebug stage.
@ -99,6 +105,12 @@ PHP ...
If you work on linux and cannot edit some of the project files right after the first installation, you can run `docker-compose run --rm php chown -R $(id -u):$(id -g) .` to set yourself as owner of the project files that were created by the docker container.
### Fix Chrome/Brave SSL
If you have a SSL trust issues, download the self-signed certificate and run :
`sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain /path/to/you/certificate.cer`
## Credits
Created by [Kévin Dunglas](https://dunglas.fr), co-maintained by [Maxime Helias](https://twitter.com/maxhelias) and sponsored by [Les-Tilleuls.coop](https://les-tilleuls.coop).

View File

@ -8,6 +8,7 @@ services:
args:
SYMFONY_VERSION: ${SYMFONY_VERSION:-}
STABILITY: ${STABILITY:-stable}
SERVER_NAME: ${SERVER_NAME:-localhost}
healthcheck:
interval: 10s
timeout: 3s