mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-14 16:46:30 +03:00
Merge pull request #754
This commit is contained in:
@@ -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/"
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user