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

Multiple Instances #22

Open
vjkoskela opened this issue Sep 13, 2018 · 2 comments
Open

Multiple Instances #22

vjkoskela opened this issue Sep 13, 2018 · 2 comments

Comments

@vjkoskela
Copy link

Sorry, this may be more of a question than an issue. Is it possible to run multiple instances of this container and link each to different Dropbox accounts? Obviously, the instances will need to use independent volumes, at least for configuration.

I ask because the Linux desktop client does not support multiple accounts as described here:

https://www.dropboxforum.com/t5/Installation-and-desktop-app/Linux-support-for-multiple-accounts/td-p/190123/page/4

So I was wondering whether through docker you've effectively fooled the client into thinking each instance is a unique host or whether all instances are identified as the same effective host to Dropbox.

Thanks!

@poism
Copy link

poism commented Sep 16, 2018

Hi, I'm quite certain you can run multiple docker instances to sync different accounts on the same host.

In case it's helpful, here is a helper script I threw together to make it more straightforward to launch multiple instances for multiple accounts:

https://github.com/poism/docker-dropbox/blob/master/docker_dropbox.sh

My plan was to eliminate Dropbox from all systems in my house and just run it on my home server for everyone so they could then access their files through the pre-existing Samba shares. Admittedly I've only used this with my own account since no one else is using Dropbox yet. (The eventual plan is to setup everyone with Dropbox accounts so everyone's photos are backed up to a central location.)

@bandtank
Copy link

@poism Do you have any trouble starting multiple containers without delays using your script? I found that if I have more than one Dropbox container running without using Docker Compose to stagger the start times, one or more of the containers will fail to start properly. The log files for the failed containers print a lot of warnings like this:

WARNING:tornado.access:404 HEAD /blocks/5231273872/pFCaBcfiJOCsSD4AJ2lCJ2KKFxl5EwrjMXVD3tVCXgQ (192.168.4.128) 1.98ms

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