Files
matchbox/scripts/pixiecore
Dalton Hubble 30f856b417 rename: Rename -images-path to -assets-path
* Serve assets from /assets, remove /images endpoint
* Migrate images to assets so we have a place for general assets
2016-01-12 11:13:59 -08:00

8 lines
386 B
Bash
Executable File

#!/bin/bash -e
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})
docker run -v $PWD/assets:/assets:Z danderson/pixiecore -api http://$CONFIG_SERVICE_IP:$CONFIG_SERVICE_PORT/pixiecore