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
您好,这是一条评论。若需要审核、编辑或删除评论,请访问仪表盘的评论界面。评论者头像来自 Gravatar。