58856844ce88d801276f01e2da27d8786e9d0af1
Crispi Docker template
Einrichten
echo "MYSQL_ROOT_PASSWORD=$( openssl rand -hex 16 )" > .env
echo "MYSQL_DATABASE=wordpress" >> .env
echo "MYSQL_USER=wordpress" >> .env
echo "MYSQL_PASSWORD=$( openssl rand -hex 16 )" >> .env
echo "WP_PORT=8080" >> .env
echo "STATIC_PORT=8081" >> .env
Redis Object Cache
After first docker compose up, install the Redis Object Cache plugin in WP Admin:
- Plugins → Add New → search "Redis Object Cache" (by Till Krüss)
- Install & Activate
- Settings → Redis → "Enable Object Cache"
The wp-config.php already has the WP_REDIS_HOST and WP_REDIS_PORT constants set.
Cron
Backup script in Cron einbinden nicht vergessen
Description
Languages
Shell
91.5%
Dockerfile
8.5%