File: Vagrantfile

package info (click to toggle)
python-vertica 1.4.0-1
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 948 kB
  • sloc: python: 6,914; makefile: 4
file content (33 lines) | stat: -rw-r--r-- 918 bytes parent folder | download | duplicates (5)
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