Compare commits

..

2 Commits

Author SHA1 Message Date
66e0687456 Removed redundant chown 2026-05-26 17:05:24 +01:00
73a2e98d2e Added xtra chown to ensure correct perms on every container start 2026-05-26 14:10:22 +01:00
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: "wordpress:7.0.0"
image: "wordpress:6.9.4"
volumes:
- "wordpress_content:/var/www/html/wp-content/"
networks:

View File

@ -52,9 +52,10 @@ if [ ! -f "$UPLOADS_HTACCESS" ]; then
Require all denied
</FilesMatch>
EOF
chown www-data:www-data "$UPLOADS_HTACCESS"
fi
chown -R www-data:www-data /var/www/html/wp-content/uploads/
if [ -n "$@" ]; then
"$@"
fi