mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 00:24:58 +00:00
Working vagrant setup
This commit is contained in:
5
Vagrantfile
vendored
5
Vagrantfile
vendored
@@ -19,9 +19,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||
|
||||
# Drone by default runs on port 80. Forward from host to guest
|
||||
config.vm.network :forwarded_port, guest: 80, host: 8080
|
||||
config.vm.network :private_network, ip: "192.168.10.101"
|
||||
|
||||
# Sync this repo
|
||||
config.vm.synced_folder ".", "/opt/drone"
|
||||
# Sync this repo into what will be $GOPATH
|
||||
config.vm.synced_folder ".", "/opt/go/src/github.com/drone/drone"
|
||||
|
||||
# system-level initial setup
|
||||
config.vm.provision "shell", path: "scripts/provision.sh"
|
||||
|
Reference in New Issue
Block a user