feat(build): parametrize morbo server host and port
This commit is contained in:
parent
65fd1343c2
commit
1e3fe69eee
4
Makefile
4
Makefile
|
@ -8,6 +8,8 @@ LUFI ?= script/lufi
|
||||||
LOCAL_SWIFT_PORT ?= 8080
|
LOCAL_SWIFT_PORT ?= 8080
|
||||||
LOCAL_LDAP_PORT ?= 389
|
LOCAL_LDAP_PORT ?= 389
|
||||||
SWIFT_CONTAINER_IMAGE ?= swiftstack/picoswiftstack:latest
|
SWIFT_CONTAINER_IMAGE ?= swiftstack/picoswiftstack:latest
|
||||||
|
MORBO_HOST ?= 0.0.0.0
|
||||||
|
MORBO_PORT ?= 3030
|
||||||
|
|
||||||
|
|
||||||
locales:
|
locales:
|
||||||
|
@ -27,7 +29,7 @@ clean:
|
||||||
rm -rf lufi.db files/
|
rm -rf lufi.db files/
|
||||||
|
|
||||||
dev: clean
|
dev: clean
|
||||||
$(CARTON) morbo $(LUFI) --listen http://0.0.0.0:3000 --watch lib/ --watch script/ --watch themes/ --watch lufi.conf
|
$(CARTON) morbo $(LUFI) --listen http://$(MORBO_HOST):$(MORBO_PORT) --watch lib/ --watch script/ --watch themes/ --watch lufi.conf
|
||||||
|
|
||||||
ldap:
|
ldap:
|
||||||
sudo docker run --privileged -d -p $(LOCAL_LDAP_PORT):389 rroemhild/test-openldap; exit 0
|
sudo docker run --privileged -d -p $(LOCAL_LDAP_PORT):389 rroemhild/test-openldap; exit 0
|
||||||
|
|
Loading…
Reference in New Issue