I can't find which one to use in the wiki. The online tutorials have conflicting info. Some say to use volume and some say to use volume_from.
Wouldn't I use volume_from because docker-sync actually creates the volume.
web:
build: .
environment:
- db_host=db
- db_port=5432
- elasticsearch_host=elasticsearch:9200
command: bin/rails server --port 3000 --binding 0.0.0.0
ports:
- "3000:3000"
volumes:
# jobfrienderwebsync is on docker-sync
# /var/www/jobfriender is on the docker web container
- jobfrienderwebsync:/var/www/jobfriender:nocopy
links:
- redis
- db
- elasticsearch
the app_sync directory is updating on the sync container. But my web server isn't getting updated with latest changes.
Please post in a readable fashion, thanks. It's volumes. Where are the conflicting docs? Thanks
This link said to use volumes_from
https://duske.me/performant-docker-container-sync-with-docker-sync/
Those are obviously not official docs, which you could have at least consulted once :)
I am following your official docs and it's not working. So I tried to find other tutorials.
Why did you close the issue?
I answered your question. Beside that you did for sure not read the configugration docs any closely neither picked up the hint to look at the boilerplate.
You need to work on your social and communication skills if you want people to use and contribute to your project.
I take it into account. I usually treat ignorance with ignorance, that's one of my habits for sure.
Ok. I will look for something else to use. I'm not using your project.
The internet is a funny place.
rsync was not installed on the web container. problem solved.
Most helpful comment
The internet is a funny place.