-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
33 lines (24 loc) · 949 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
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# box-config
config.vm.box = "devops000"
config.vm.box_url = "http://box.3wolt.de/devops000/"
config.vm.box_check_update = true
config.vm.box_version = "~> 1.0.6"
# network-config
config.vm.network "public_network", type: "dhcp"
config.vm.boot_timeout = 600
# SSH-config
config.ssh.username = "root"
config.ssh.password = '\g}xr+e#p@g1'
config.ssh.insert_key = true
# hostname
config.vm.hostname = "ColognePhonetic"
# provisioners
# ------------
# nginx configs, copy and link
config.vm.provision "file", source: "env/nginx.default.conf", destination: "/etc/nginx/sites-available/default", run: "always"
config.vm.provision "file", source: "env/nginx.pma.conf", destination: "/etc/nginx/sites-available/pma", run: "always"
# shell commands
config.vm.provision "shell", path: "env/bootstrap.sh", run: "always"
end