Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port forwarding, machine name, correct init.d start #18

Merged
merged 1 commit into from
Apr 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
port forwarding, machine name, correct init.d start
  • Loading branch information
jerimiah797 committed Apr 14, 2017
commit 61582235ea3a60d7e090a153194fa813f19b2fcd
4 changes: 3 additions & 1 deletion db/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Vagrant.configure(2) do |config|

# Ubuntu 16.04, 64 bit
config.vm.box = "bento/ubuntu-16.04"
config.vm.define "rethinkdb"

# Set memory to 1024
# Allow I/O APIC
Expand All @@ -21,6 +22,7 @@ Vagrant.configure(2) do |config|

# Static IP
config.vm.network :private_network, ip: rethinkdb_host_ip
config.vm.network "forwarded_port", guest: 8080, host: 8080

# Provisioning
config.vm.provision :shell do |sh|
Expand All @@ -38,7 +40,7 @@ Vagrant.configure(2) do |config|
rethinkdb create -d /var/lib/rethinkdb/instances.d/default 2>&1;

# Start rethinkdb
service rethinkdb start;
/etc/init.d/rethinkdb restart;
EOF
end
end