Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F508
Vagrantfile
dcog (Dan)
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Authored By
dcog
Jul 7 2021, 21:42
2021-07-07 21:42:52 (UTC+0)
Size
466 B
Referenced Files
None
Subscribers
None
Vagrantfile
View Options
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Give it the absolute path -- this way it doesn't matter where Vagrant commands are issued from
project_path
=
__dir__
+
'/'
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vm
.
box
=
'bento/ubuntu-20.04'
config
.
vm
.
box_version
=
'202105.25.0'
config
.
vm
.
network
"forwarded_port"
,
guest
:
80
,
host
:
8080
config
.
vm
.
synced_folder
project_path
,
'/srv/phorge'
config
.
vm
.
provision
'shell'
,
path
:
project_path
+
'/provision.sh'
end
File Metadata
Details
Attached
Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
386
Default Alt Text
Vagrantfile (466 B)
Attached To
Mode
T15027: Build a VM-based developer environment
Attached
Detach File
Event Timeline
Log In to Comment