• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Install Redis with docker on a centos 7 server

KlausZ

Basic Pleskian
Server operating system version
CentOS 7.9.2009
Plesk version and microupdate number
18.0.43
Hi,
i want to install redis on a centos 7 server with docker. I follow this instruction: How to Optimize WordPress with Redis and Docker
Some Questions about that: I install bitnami\redis
Have i to change the port to 6379? The value redis_master_host: Is this the local IP: 127.0.0.1 or what?
Is there a problem because the image os is debian 9?

Thanks, Klaus
 
I have the following setup on my Ubuntu servers with Wordpress websites.
What you need to do:
  • Install docker/docker-compose on your server. See the docker-compose.yml under this message.
  • Install the "Redis Object Cache" Plugin.
  • Edit wp-config.php and add the required variables under this message.
  • When you're done, check if the plugin is connected with your redis via the wordpress admin backend. See image.
  • Confirm with the Query Monitor plugin that your queries are cached. See image.

YAML:
# docker-compose.yml
version: '2'

services:
  redis:
    container_name: myRedisContainer
    restart: always
    image: 'redis:latest'
    mem_limit: 64m
    ports:
      - "127.0.0.1:50000:6379"
    command: >
      --requirepass ChangePasswordHere

PHP:
# wp-config.php
define('WP_REDIS_HOST', '127.0.0.1');
define('WP_REDIS_PASSWORD', 'ChangePasswordHere');
define('WP_REDIS_PORT', '50000');

1657006156822.png1657006445177.png
 
i want to host wp sites too :) how you avoid get hacked ? first time using plesk i am on trial.
thanks you for your kind help
 
Back
Top