Skip to content

Instantly share code, notes, and snippets.

@iamdylanngo
Last active April 29, 2020 14:53
Show Gist options
  • Save iamdylanngo/46a7efc804537289a057156df4e3c60b to your computer and use it in GitHub Desktop.
Save iamdylanngo/46a7efc804537289a057156df4e3c60b to your computer and use it in GitHub Desktop.
setup-magento-cache.txt
docker run --name redis -p 6379:6379 -d redis
bin/magento setup:config:set --page-cache=redis --page-cache-redis-server=127.0.0.1 --page-cache-redis-db=1
docker run -d --name elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:tag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment