From 293cc27ca4eca3afbf3b281e116730987fd467fb Mon Sep 17 00:00:00 2001 From: maxhelias Date: Thu, 11 Jun 2020 19:46:15 +0200 Subject: [PATCH] Add docs for customize server name --- README.md | 12 ++++++++++++ docker-compose.yml | 1 + 2 files changed, 13 insertions(+) diff --git a/README.md b/README.md index 92a6520..e70f630 100644 --- a/README.md +++ b/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). diff --git a/docker-compose.yml b/docker-compose.yml index a8abb03..70c6699 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,7 @@ services: args: SYMFONY_VERSION: ${SYMFONY_VERSION:-} STABILITY: ${STABILITY:-stable} + SERVER_NAME: ${SERVER_NAME:-localhost} healthcheck: interval: 10s timeout: 3s