mirror of
https://github.com/cytopia/devilbox.git
synced 2025-01-31 08:25:23 +00:00
REL-0.9 Re-add travis functions
This commit is contained in:
parent
cf53e1fb43
commit
73ab1b679d
@ -205,6 +205,22 @@ set_debug_enable() {
|
||||
run "sed -i'' \"s/^DEBUG_COMPOSE_ENTRYPOINT=.*/DEBUG_COMPOSE_ENTRYPOINT=1/\" \"${DEVILBOX_PATH}/.env\""
|
||||
}
|
||||
|
||||
###
|
||||
### Alter ports
|
||||
###
|
||||
set_host_port_httpd() {
|
||||
_port="${1}"
|
||||
run "sed -i'' \"s/^HOST_PORT_HTTPD=.*/HOST_PORT_HTTPD=${_port}/\" \"${DEVILBOX_PATH}/.env\""
|
||||
}
|
||||
set_host_port_mysql() {
|
||||
_port="${1}"
|
||||
run "sed -i'' \"s/^HOST_PORT_MYSQL=.*/HOST_PORT_MYSQL=${_port}/\" \"${DEVILBOX_PATH}/.env\""
|
||||
}
|
||||
set_host_port_pgsql() {
|
||||
_port="${1}"
|
||||
run "sed -i'' \"s/^HOST_PORT_POSTGRES=.*/HOST_PORT_POSTGRES=${_port}/\" \"${DEVILBOX_PATH}/.env\""
|
||||
}
|
||||
|
||||
###
|
||||
### Eenable desired docker version
|
||||
###
|
||||
|
Loading…
x
Reference in New Issue
Block a user