Skip to content

Commit

Permalink
Local Env: change user (#13850)
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy authored Nov 23, 2024
1 parent ed33305 commit 1df9a5d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion bin/local-env/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ services:

cli:
image: wordpress:cli-php${PHP_VERSION:-8.2}
user: xfs
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 33:33 $CLI wp "$@"
}

##
Expand Down

0 comments on commit 1df9a5d

Please sign in to comment.