File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ USAGE="Magento Cloud Docker
16
16
ece-deploy run deploy hooks
17
17
ece-post-deploy run post-deploy hooks
18
18
ece-redeploy run build, deploy, and post-deploy hooks
19
+ flush-redis clears redis cache
20
+ flush-varnish clears varnish cache
19
21
ece-db access to Database
20
22
21
23
\033[33mOptions:\033[0m
@@ -63,6 +65,11 @@ case "$1" in
63
65
docker-compose run --rm deploy cloud-deploy
64
66
docker-compose run --rm deploy cloud-post-deploy
65
67
;;
68
+ flush-redis)
69
+ docker-compose exec redis redis-cli FLUSHALL
70
+ ;;
71
+ flush-varnish)
72
+ docker-compose exec varnish varnishadm ban req.url ' ~' ' .'
66
73
ece-db)
67
74
docker-compose exec db sh -c ' mysql -u $MYSQL_USER -p$MYSQL_PASSWORD $MYSQL_DATABASE "$@"'
68
75
;;
You can’t perform that action at this time.
0 commit comments