port_forwarding job from networking/9
Github source:
373b61e
or
master branch
Properties¶
networking
¶
port_forwarding
¶List of rules that describes the ports to be forwarded. Defaults
internal_ip
to ‘127.0.0.1’.
- Default
[]- Example
- external_port: 80 internal_ip: 10.10.0.34 internal_port: 8080 - external_port: 443 internal_ip: 10.10.0.34 internal_port: 4443
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/port_forwarding/
directory
(learn more).
bin/ctl
(frombin/ctl
)bin/forward_ports.sh
(frombin/forward_ports.sh.erb
)bin/unforward_ports.sh
(frombin/unforward_ports.sh.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.
This job relies on no runtime packages.