Closed danyeah closed 5 years ago
Looks like your volume mappings are incorrect. Specifically, it looks like you're missing mysite.com
(instead of wp-content/themes
it should be mysite.com/wp-content/themes
.
Also, you don't need to copy the dockerfile and run.sh file into your project. Docker compose pulls that in the image from dockerhub.
Thanks a lot it works now.
Hello, thanks for this project, I'm trying to integrate it in my team workflow, i wanted to provide a development server in each of our project repository, so any team member can docker-compose up in the repo and have a server up and running.
I've successfully tried your example and it works, and i can point it in one of my project directory, but as soon as i try to port all the necessary files, docker fails me.
Overview
docker version
18.09.2docker-compose.yml
Project structure
This is my project repo, i copied DockerFile, run.sh and docker-compose.yml into my root and i did docker-compose up
docker-compose up
outputIt seems like it can't execute run.sh, but im not sure, what am i missing?