Skip to content

amfischer/wp-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Docker Compose Setup

  • https://mklasen.com/adding-and-using-wp-cli-in-a-docker-compose-setup/
  • set wordpress container user as host user:group, $(id -u):$(id -g), e.g. 1000:1000
  • ssh into wp container as root docker-compose exec -u 0 wordpress bash
  • create user with host uid:gid useradd -G www-data,root -u $uid -d /home/$user $user
  • might need to change folder owner chown -R $user:$user /home/$user

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published