Using apache reverse proxy to send all requests for /blog to internal wordpress server
This issue looks like it's more of a Wordpress thing than a misconfiguration. You need to tell wordpress that it's living inside a subdirectory, because right now the default wordpress .htaccess file is redirecting you to http://localhost:3005/wp-admin/install.php , because it's not aware it's located in a directory called blog.
Option 1. One way to try and solve this is tell wordpress that it has a new base url in the wp-config.php file
define('WP_HOME','http://example.com/blog');
define('WP_SITEURL','http://example.com/blog');
Option 2. Another way to try and handle this, is to edit wordpress's htaccess file
Your htaccess file in wordpress should look something like this
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
This would be the htaccess that exists inside the wordpress docker container