diff --git a/dockfony/dockfony/5.0/manifest.json b/dockfony/dockfony/5.0/manifest.json index ee88aaa7..ea5991d0 100644 --- a/dockfony/dockfony/5.0/manifest.json +++ b/dockfony/dockfony/5.0/manifest.json @@ -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/" diff --git a/dockfony/dockfony/5.0/post-install.txt b/dockfony/dockfony/5.0/post-install.txt index da49aa83..4b546b3a 100644 --- a/dockfony/dockfony/5.0/post-install.txt +++ b/dockfony/dockfony/5.0/post-install.txt @@ -6,7 +6,10 @@ DATABASE_URL=mysql://$DB_USERNAME:$DB_PASSWORD@mysql:3306/$DB_DATABASE - * Run 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 (""): + CORS_ALLOW_ORIGIN="^https?://localhost(:[0-9]+)?$" + + * Run ./dockfony start to get started * Run ./dockfony --help to display the list of available commands.