Skip to content

Commit 7ab611a

Browse files
authored
Merge pull request dunglas#62 from maxhelias/docs
Add docs for customize server name
2 parents 1395930 + 293cc27 commit 7ab611a

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ For instance, use the following command to use the `master` branch of Symfony:
2525
STABILITY=dev docker-compose up --build
2626
```
2727

28+
## Customize Server Name
29+
30+
Use the `SERVER_NAME` environment variable to define your custom server name.
31+
32+
`SERVER_NAME=symfony.wip docker-compose up --build`
33+
2834
## Debugging
2935

3036
The default Docker stack is shipped without a Xdebug stage.
@@ -99,6 +105,12 @@ PHP ...
99105

100106
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.
101107

108+
### Fix Chrome/Brave SSL
109+
110+
If you have a SSL trust issues, download the self-signed certificate and run :
111+
112+
`sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain /path/to/you/certificate.cer`
113+
102114
## Credits
103115

104116
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).

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ services:
88
args:
99
SYMFONY_VERSION: ${SYMFONY_VERSION:-}
1010
STABILITY: ${STABILITY:-stable}
11+
SERVER_NAME: ${SERVER_NAME:-localhost}
1112
healthcheck:
1213
interval: 10s
1314
timeout: 3s

0 commit comments

Comments
 (0)