Hi,
Hope you are all well !
I have an issue with docker-sync and docker-compose; I would like to edit prestashop's files from a docker volume but it does not sync in both ways. I get files locally from the volume app but no way to update the docker volume if I edit any files locally.
Here is the repository:
https://github.com/x0rzkov/docker-prestashop1.7.x-php7-fpm
To reproduce the issue:
docker-compose up -d
docker-sync start
touch ./htdocs/index.php
Maybe I am getting something wrong, so thanks in advance for your insights and inputs about that problem.
Cheers,
X
this is the wrong file https://github.com/x0rzkov/docker-prestashop1.7.x-php7-fpm/blob/master/docker-sync.yml#L5
i guess just a typo - you can remove the line entirely since the filename is docker-compose.yml by default
still not working, I pushed the changes ^^
Please use https://github.com/EugenMayer/docker-sync-boilerplate and understand how the configuration works, work from there to adjust to your case
I would also invite you to read https://docker-sync.readthedocs.io/en/latest/ , very much https://docker-sync.readthedocs.io/en/latest/getting-started/configuration.html this one.
after reading it, still not working :-(
is there a limit to the number of files to watch ?
@x0rzkov
Maybe try to change this from app to app-sync and see if it's working...
https://github.com/x0rzkov/docker-prestashop1.7.x-hidden-service/blob/master/docker-sync.yml#L10
ensure this name is unique and does not match your other container names
thanks solved the issue
@letrungkien Thank you for helping!
@EugenMayer happy to help
Most helpful comment
@x0rzkov
Maybe try to change this from
apptoapp-syncand see if it's working...https://github.com/x0rzkov/docker-prestashop1.7.x-hidden-service/blob/master/docker-sync.yml#L10