i'm thinking about dirs/files sync and docker containers
currently we have often this : machine A has a ssh key, machine B has the pub key of A in autorized_keys + "command", this allows to run rsync specific commands with relative safety
i'm using rrsync wrapper on target side, leading to something like:
now we are in the process to dockerize everything i wonder about how to sync dirs/files between containers (local or remote)
i don't want to include specific code (or ssh keys) in containers, if we can avoid it
ruaok
I was chatting with Gentlecat about this yesterday.
the old way was to link containers together.
that can chain ports or share volumes.
but, it appears that making private virtual networks is the newer way via docker compose.
zas
yes, but it doesn't work if containers are on different machines
ruaok
ah, I hadn't gotten that far yet.
zas
this is perhaps where docker swarm comes into play
ruaok
still, but there must be an answer for that too.
zas
my idea is to make a generic file sync container
container A expose volume vA and container B expose vB (and both run on different hosts)
make a container C linked to A (accessing vA), and a container D linked to B (accessing vB)
C and D are based on the same rsync+ssh image
ruaok
ok, that sounds sane. not sure how to accomplish that yet
zas
also the current case is simpler, we want to rsync from a "normal" filesystem/host to a remote container
Gentlecat
zas: got time to try CB deployment?
want to at least see how it works
zas
absolutely not ;)
Gentlecat
ok
Mineo joined the channel
hellska
check the PR https://github.com/metabrainz/acousticbrainz-se... … I merged a wrong branch in the master of my fork, then I updated with the metabrainz and now I don’t know how to fix the mess I have in the repo :(
alastairp, gentlecat: ping
Mineo
what is the commit history supposed to look like?
Gentlecat
just bf1a1ec?
hellska
I wanted to synk the fork with the metabrainz/HEAD
if you just want bf1... on top of eaa... you can do 'git reset --hard origin/master; git cherry-pick bf1...', assuming that 'origin' is the origin that points to the metabrainz repository
you'll need to push --force afterwards, but that's probably easier than juggling branches around
hellska
ok, I will try this way!
Mineo
(git reset --hard makes your branches HEAD point to whatever you tell it to, in this case the latest commit on origin/master)
Hmm. The way it's set up now, Area, Instrument and Style go together
So if I add you you'd get notified of all 3
CatQuest
hmm
well I would have no business with style andi can't add areas.. but I would like to be able to do instruments..
what about the auto assign thing?
reosarevok
Well, I could make you primary person for instruments, but that's the kind of thing we should ask the meeting about :)
CatQuest
yea!
reosarevok
So let's ask the meeting about it. Can you make the meeting tomorrow?
CatQuest
i mena, this will let you focus on style more instead since you should be forucisng o tha and not procrastinating on both inst and style :P
reosarevok
I definitely wouldn't mind, enough stuff in my plate as it is, but dunno if that's supposed to be part of my contracted responsibilities or it's seen as too close to style or whatever :)