-
Notifications
You must be signed in to change notification settings - Fork 180
/
Vagrantfile
33 lines (26 loc) · 918 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# -*- mode: ruby -*-
# vi: set ft=ruby :
ENV["VAGRANT_DEFAULT_PROVIDER"] ||= "docker"
VAGRANTFILE_API_VERSION = "2"
#######################################################################
# This will set up a box with Vertica Community Edition 7.1.1
# running inside the box in a Docker container.
#
# The purpose is to have a Vertica instance that can be used by tests.
#
# Vertica's port 5433 is exposed to host machine.
# Database 'docker' is available.
# User is 'dbadmin' with no password.
#
# >>>
# ! As is, any data stored inside Vertica will not live through
# ! container or VM restart.
# >>>
#######################################################################
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provider "docker" do |d|
d.image = "sumitchawla/vertica:latest"
d.ports = ["5433:5433"]
end
config.vm.synced_folder ".", "/vagrant", disabled: true
end