Merge pull request #754

This commit is contained in:
symfony-flex-server[bot]
2019-09-16 16:36:39 +00:00
committed by GitHub
2 changed files with 7 additions and 2 deletions
+3 -1
View File
@@ -7,7 +7,9 @@
"env": {
"DB_DATABASE": "symfony",
"DB_USERNAME": "symfony",
"DB_PASSWORD": "%generate(secret)%"
"DB_PASSWORD": "%generate(secret)%",
"REDIS_HOST": "redis",
"REDIS_PORT": "6379"
},
"gitignore": [
"/docker/"
+4 -1
View File
@@ -6,7 +6,10 @@
<fg=green>DATABASE_URL=mysql://$DB_USERNAME:$DB_PASSWORD@mysql:3306/$DB_DATABASE</>
* Run <fg=green>bash dockfony init</> to initialise the script and get started
* If using the Nelmio CORS bundle, you will need to wrap it's environment varible in quotes (""):
<fg=green>CORS_ALLOW_ORIGIN="^https?://localhost(:[0-9]+)?$"</>
* Run <fg=green>./dockfony start</> to get started
* Run <fg=green>./dockfony --help</> to display the list of available commands.