We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 937c7f4 commit e7573f3Copy full SHA for e7573f3
docker-compose.yml
@@ -16,6 +16,7 @@ services:
16
- WORDPRESS_DB_NAME=$MYSQL_DATABASE
17
volumes:
18
- ./jquery-wp-content:/var/www/html/jquery-wp-content
19
+ - ./uploads:/var/www/html/wp-content/uploads:rw
20
- ./wp-config.php:/var/www/html/wp-config.php
21
- ./ssl:/etc/apache2/ssl
22
- ./apache/.htaccess:/var/www/html/.htaccess
uploads/.gitkeep
wp-config-sample.php
@@ -16,6 +16,9 @@
// WordPress debugging mode (enables PHP E_NOTICE and WordPress notices)
define( 'WP_DEBUG', (bool) JQUERY_STAGING );
+// Set the uploads directory so docker can write to it
+define( 'UPLOADS', 'wp-content/uploads' );
+
/*
23
* Database Settings
24
*/
0 commit comments