24 lines
708 B
Markdown
24 lines
708 B
Markdown
INSTRUCTIONS
|
|
|
|
1. Copy (and edit) .env_default to .env
|
|
2. Run docker-compose
|
|
3. Access the system in http://hostname:$EX_PORT
|
|
4. Follow the system instructions to install WP
|
|
5. Have fun!
|
|
|
|
.env VARIABLES
|
|
|
|
The variables in the .env file are the common ones shown in the parent directory README.md
|
|
|
|
REDIS CONFIGURATION IN WORDPRESS
|
|
|
|
Install the Redis Object Cache plugin in WordPress and Activate it
|
|
Then, in Settings -> Redis click Enable Object Cache
|
|
For the plugin to function you must add the following in your wp-config.php file:
|
|
|
|
define('WP_REDIS_HOST', 'redis');
|
|
|
|
define('WP_CACHE_KEY_SALT', 'wp-docker-5DknvYepdjyJMo8gDqrLhrpAJUQ');
|
|
|
|
The WP_CACHE_KEY_SALT must be unique, so do your best in adapting it.
|