Gymnae
Forum Replies Created
-
??
Here is my repo: https://github.com/Gymnae/docker-wordpressThe little snippet which adds the redis object config cache to wp-config.php
# sed redis config into config.php sed -i "/#@-/a /** redis dropin */\n define( 'WP_REDIS_HOST', 'redis');\n define( 'WP_REDIS_CLIENT', 'pecl');" wp-config.php
I copied
docker-entrypoint.sh
andDockerfile
from the original wordpress docker image, but adjusted them to my (baseimages) needsYes, indeed the position of the config lines is crucial.
I moved them now to just below the SALT and database configurations and it loads without issues.Thanks guys for your help ??
This is from inside the redis container:
ctive Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:6379 0.0.0.0:* LISTEN - tcp 0 0 :::6379 :::* LISTEN -
Sure thing, and thank you for your help:
From the wordpress container:
bash-4.3# sudo netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 61/php-fpm.conf) tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 62/nginx: master pr tcp 0 0 :::80 :::* LISTEN 62/nginx: master pr
From the host OS (CoreOS)
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp6 0 0 :::22 :::* LISTEN 1/systemd tcp6 0 0 :::3000 :::* LISTEN 12444/docker-proxy tcp6 0 0 :::443 :::* LISTEN 2142/docker-proxy tcp6 0 0 :::64738 :::* LISTEN 10836/docker-proxy tcp6 0 0 :::2376 :::* LISTEN 1/systemd tcp6 0 0 :::2222 :::* LISTEN 12380/docker-proxy tcp6 0 0 :::8080 :::* LISTEN 30383/docker-proxy tcp6 0 0 :::80 :::* LISTEN 2151/docker-proxy
It’s mapped the the default port and yes, it is mapped to the container, hence the command redis-cli works:
redis-cli -h redis -p 6379 redis:6379> ping PONG
This is the command running inside the wordpress container. So there is a connection to the redis installation active in the redis container.
*bump*
I tried “Download Manager”, but it doesn’t offer the same features and paying for functions freely available in Download Monitor is not an option.
Is the developer of Download Monitor still active? The last update was quite some time ago and I read about the bug I am facing before on this forum. I’d really appreciate any input because the project is scheduled for a go live soon.
Thanks