nylas / sync-engine

:incoming_envelope: IMAP/SMTP sync system with modern APIs
https://nylas.com/docs/platform
GNU Affero General Public License v3.0
3.5k stars 354 forks source link

Support vagrant-lxc to install the sync-engine #401

Closed come-maiz closed 7 years ago

come-maiz commented 8 years ago

I can't use virtualbox with vagrant because it has a conflict with my kvm setup. So I started looking at starting it using lxc. It's lightweight, which makes it perfect for my already busy machine.

Adding this to the Vagrantfile I could start and run it successfully:

config.vm.provider :lxc do |libvirt, override|
  override.vm.box = "fgrehm/precise64-lxc"
end

It's probably missing the memory and cpu limits, but I don't know how to do that in vagrant for the lxc provider.

grinich commented 7 years ago

Pull Requests / Forks welcome! We're not currently putting this on our roadmap though.

come-maiz commented 7 years ago

ack. If I get the time to learn more vagrant, I'll make a proper PR with the limits.

grinich commented 7 years ago

👍