Skip to content

Commit

Permalink
fixed so runs with current vagrant/virtualBox
Browse files Browse the repository at this point in the history
  • Loading branch information
mlilback committed Nov 2, 2018
1 parent d392629 commit 11235c2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
7 changes: 4 additions & 3 deletions vagrant/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Vagrant.configure("2") do |config|

# Every Vagrant development environment requires a box. You can search for
# boxes at https://vagrantcloud.com/search.
config.vm.box = "ubuntu/xenial64"
config.vm.box = "bento/ubuntu-16.04"

# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
Expand Down Expand Up @@ -57,10 +57,11 @@ Vagrant.configure("2") do |config|
# vb.memory = “4096”
# end

# config.vm.provider "virtualbox" do |vb|
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--uartmode1", "disconnected"]
# Display the VirtualBox GUI when booting the machine
# vb.name = rspark
# end
end

#
# View the documentation for the provider you are using for more
Expand Down
22 changes: 9 additions & 13 deletions vagrant/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,34 @@
version: '2'
services:
postgres:
# build: ./postgres
image: jh-postgres
image: rsprk-postgres
ports:
- "5432:5432"
# volumes:
# - ./data/pg-data:/opt/pg-data
hive:
# build: ./hive
image: jh-hive
image: rsprk-hive
ports:
- "10000:10000"
depends_on:
- hadoop
hadoop:
# build: ./hadoop
image: jh-hadoop
# volumes:
# - ./data/hadoop:/opt/hadoop
image: rsprk-hadoop
volumes:
- ./data/hadoop:/opt/hadoop
ports:
- "9000:9000" # Hadoop
- "50070:50070" # HadoopUI Access
rstudio:
# build: ./rstudio
image: jh-rstudio
image: rsprk-rstudio
ports:
- "8787:8787" # RstudioUI
links:
- hadoop
- postgres
# volumes:
# - ./rspark-notes:/home/rstudio/rspark-notes
# - ./rspark-tests:/home/rstudio/rspark-tests
volumes:
- ./rspark-notes:/home/rstudio/rspark-notes
- ./rspark-tests:/home/rstudio/rspark-tests
depends_on:
- hadoop
- hive

0 comments on commit 11235c2

Please sign in to comment.