Skip to content

Commit

Permalink
Use www-data instead of xfs
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Nov 23, 2024
1 parent ed33305 commit 4b9f525
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/local-env/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:

cli:
image: wordpress:cli-php${PHP_VERSION:-8.2}
user: xfs
user: www-data
environment:
WORDPRESS_DB_HOST: mysql
WORDPRESS_DB_USER: root
Expand Down
2 changes: 1 addition & 1 deletion bin/local-env/includes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ dc() {
# Executes a WP CLI request in the CLI container.
##
wp() {
dc exec -T -u xfs $CLI wp "$@"
dc exec -T -u www-data $CLI wp "$@"
}

##
Expand Down

0 comments on commit 4b9f525

Please sign in to comment.