services: imapsync: image: gilleslamiral/imapsync restart: "no" # command: imapsync --host1 $HOST1 --user1 $USR1 --password1 $IMAPSYNC_PASSWORD1 --host2 $HOST2 --user2 $USR2 --password2 $IMAPSYNC_PASSWORD2 --delete2duplicates --automap command: bash /sync/sync_loop_unix.sh volumes: - "./sync:/sync"