上传文件权限问题

services:
wordpress:
image: wordpress:latest
entrypoint: >
sh -c “chown -R www-data:www-data /var/www/html/wp-content/uploads &&
chmod -R 755 /var/www/html/wp-content/uploads &&
docker-entrypoint.sh apache2-foreground”
volumes:
– wordpress_data:/var/www/html
– ./php-conf/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini

作者: cavalier

能源行业从业者,业余爱好象棋、C++还有二胡、乒乓也很喜欢

《上传文件权限问题》有一个想法

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注