api: Add flags to configure address and image asset path

This commit is contained in:
Dalton Hubble
2015-12-13 17:44:39 -08:00
parent 176b763b61
commit f3a804f098
12 changed files with 62 additions and 36 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash -e
CONFIG_SERVICE=bcs
CONFIG_SERVICE=bootcfg
CONFIG_SERVICE_IP=$(docker inspect --format {{.NetworkSettings.IPAddress}} ${CONFIG_SERVICE})
CONFIG_SERVICE_PORT=$(docker inspect --format '{{ (index (index .NetworkSettings.Ports "8080/tcp") 0).HostPort }}' ${CONFIG_SERVICE})