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

Multi folders? #11

Open
leafiy opened this issue May 5, 2020 · 2 comments
Open

Multi folders? #11

leafiy opened this issue May 5, 2020 · 2 comments

Comments

@leafiy
Copy link

leafiy commented May 5, 2020

Hi, do you know how to mount more than one folders?

@emcniece
Copy link

emcniece commented Apr 13, 2022

Kind of a workaround, but I bet you could edit s3cfg and set follow_symlinks = True then symlink your target directories into the mounted volume. Better yet, set $PARAMS to --follow-symlinks, that's already passed into the sync command.

@cfoellmann
Copy link

I am not sure if it still relevant for anyone:
for me following symlinks did not work. I have another workaround that works (for me):

Add all the folders you want to sync a mapping into the /data/* folder like:

    volumes:
      - /local/path/one:/data/one:ro
      - /local/path/two:/data/two:ro

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