Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable redis during setup, set backend base to admin, https for unsecure #304

Merged
merged 1 commit into from
Sep 5, 2020

Conversation

piotrkwiecinski
Copy link
Contributor

Refs: #283

@rangerz tips for setup.

Tested after running bin/setup:

Recreating compose_phpfpm_1      ... done
Recreating compose_app_1         ... done
Docker development environment setup complete.
You may now access your Magento instance at https://magento2.test/
#:~/projects/dm-redis/compose (master) $ bin/redis redis-cli monitor
OK
1598896103.038085 [0 192.168.80.7:59066] "select" "1"
1598896103.044390 [0 192.168.80.7:59068] "hget" "zc:k:69d_GLOBAL__DICONFIG" "d"
1598896103.057593 [0 192.168.80.7:59068] "hget" "zc:k:69d_DICONFIG70F9A356A11A3AEF67B14BCEDECB0F36" "d"
1598896103.062639 [0 192.168.80.7:59068] "hget" "zc:k:69d_INTERCEPTION" "d"
1598896103.074890 [0 192.168.80.7:59070] "select" "1"

@rangerz
Copy link
Contributor

rangerz commented Aug 31, 2020

@piotrkwiecinski You may also remove the below redis setting part

echo "Enabling Redis for cache..."
bin/clinotty bin/magento setup:config:set --no-interaction --cache-backend=redis --cache-backend-redis-server=redis --cache-backend-redis-db=0

echo "Enabling Redis for Full Page Cache..."
bin/clinotty bin/magento setup:config:set --no-interaction  --page-cache=redis --page-cache-redis-server=redis --page-cache-redis-db=1

echo "Enabling Redis for session..."
bin/clinotty bin/magento setup:config:set --no-interaction --session-save=redis --session-save-redis-host=redis --session-save-redis-log-level=4 --session-save-redis-db=2

@piotrkwiecinski
Copy link
Contributor Author

piotrkwiecinski commented Sep 1, 2020

Updated. Thank you for pointing out.

@markshust markshust merged commit 9e016db into markshust:master Sep 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants