Add docs for customize server name
This commit is contained in:
parent
eaf5639e41
commit
293cc27ca4
12
README.md
12
README.md
@ -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).
|
||||
|
@ -8,6 +8,7 @@ services:
|
||||
args:
|
||||
SYMFONY_VERSION: ${SYMFONY_VERSION:-}
|
||||
STABILITY: ${STABILITY:-stable}
|
||||
SERVER_NAME: ${SERVER_NAME:-localhost}
|
||||
healthcheck:
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
|
Loading…
x
Reference in New Issue
Block a user