Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WordPress get installed in ./src on top of ./src/web/wp #4

Closed
pixeline opened this issue May 12, 2019 · 6 comments
Closed

WordPress get installed in ./src on top of ./src/web/wp #4

pixeline opened this issue May 12, 2019 · 6 comments

Comments

@pixeline
Copy link

Hi!

on docker-compose up Wordpress get installed in the ./src folder.
It also get installed in the correct directory /web/wp, thanks to composer.

So i assume the faulty line is

- ./src:/var/www/html:rw,cached

@urre
Copy link
Owner

urre commented May 13, 2019

@pixeline hey! yes, the docker image will download wordpress when doing docker-compose up but I use the /web/wp installed by composer instead and ignore the standard files in git. But you can use this both with composer and without, composer isn't a requirement.

@urre
Copy link
Owner

urre commented May 14, 2019

@pixeline https://github.com/urre/wordpress-nginx-docker-compose/blob/master/.gitignore#L45

Maybe could have been more clear about this!

@urre urre closed this as completed May 27, 2019
@Senegal
Copy link

Senegal commented Jun 4, 2019

I think it would be better to avoid duplicated files. Have you any idea how to do it?

@urre
Copy link
Owner

urre commented Jun 4, 2019

@Senegal yea, we can use another docker image without the standard wordpress files. I'll fix this!

@urre
Copy link
Owner

urre commented Jun 4, 2019

@Senegal @pixeline I just fixed this In #5

Using this custom docker image: https://github.com/urre/wordpress-nginx-docker-compose-image
(auto built via docker-hub). This doesn't download any files.

@Senegal
Copy link

Senegal commented Jun 5, 2019

thanks. nice work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants