fhussonnois / docker-storm

Docker, An easy way to try Apache Storm
Apache License 2.0
39 stars 36 forks source link

Unable to deploy via the image due to placeholders in config #6

Closed andlaz closed 9 years ago

andlaz commented 9 years ago

Hello,

when i run

docker run --rm --entrypoint storm  \  
       -v <HOST_TOPOLOGY_TARGET_DIR>:/home/storm fhuz/docker-storm \   
       -c nimbus.host=`docker inspect --format='{{.NetworkSettings.IPAddress}}' storm-nimbus` jar <TOPOLOGY_JAR> <TOPOLOGY_ARGS>

as instructed by the README, i get storm complaining about an invalid character for ui.port in it's config file - to no surprise since it is not pre-processed by entrypoint.sh

any idea on how this could be gracefully resolved in this image? maybe if $STORM_HOME/conf/storm.yaml did not exist ( $STORM_HOME/conf/storm.yaml.template ? ) until entrypoint.sh is invoked?

thanks, Andras