Skip to content

Commit

Permalink
Try different user
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Nov 23, 2024
1 parent 4b9f525 commit 124774a
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: 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 www-data $CLI wp "$@"
dc exec -T -u 33:33 $CLI wp "$@"
}

##
Expand Down

0 comments on commit 124774a

Please sign in to comment.