This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "robin/trusty64" | |
config.vm.hostname = "docker" | |
config.vm.provision "shell", inline: $shell | |
if Vagrant.has_plugin?("vagrant-vbguest") then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
## | |
# Basic config | |
## | |
listen 80; | |
listen 443 ssl spdy; | |
server_name _; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "robin/trusty64" | |
config.vm.hostname = "trusty64" | |
config.vm.provision "shell", inline: $shell | |
if Vagrant.has_plugin?("vagrant-vbguest") then | |
config.vbguest.auto_update = false | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
auto eth0 | |
iface eth0 inet dhcp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "robin/trusty64" | |
config.vm.network "forwarded_port", guest: 80, host: 8080 | |
config.vm.provision "shell", inline: $shell | |
if Vagrant.has_plugin?("vagrant-vbguest") then | |
config.vbguest.auto_update = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set non-interactive mode | |
export DEBIAN_FRONTEND=noninteractive | |
# Update package mirrors and update base system | |
apt-get update | |
apt-get -y dist-upgrade | |
# Install packages | |
apt-get -y install git tree curl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Shell provisioner for LAMP | |
# Tested on Ubuntu 12.04 | |
## | |
# Detect environment | |
source /etc/os-release | |
# Set non-interactive mode | |
export DEBIAN_FRONTEND=noninteractive |
NewerOlder