Skip to content

Commit

Permalink
Add ELASTICSEARCH_HOST to .env.local in README.md (#55)
Browse files Browse the repository at this point in the history
* Add ELASTICSEARCH_HOST to .env.local in README.md

* Update README.md

Co-authored-by: Luca Rath-Heel <luca@sulu.io>
  • Loading branch information
niklasnatter and luca-rath authored Feb 16, 2021
1 parent 003b376 commit 5cb1746
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ docker-compose exec php bash
# Create a new sulu project with composer
composer create-project sulu/skeleton /var/www/html

# Set the correct database url in the `.env.local` file
# Set service urls to the `.env.local` file
echo "DATABASE_URL=mysql://$MYSQL_USER:$MYSQL_PASSWORD@mysql:3306/$MYSQL_DATABASE" >> .env.local
echo "ELASTICSEARCH_HOST=elasticsearch:9200" >> .env.local

# Initialize sulu project
bin/adminconsole sulu:build dev --destroy
Expand Down

0 comments on commit 5cb1746

Please sign in to comment.