Skip to content

Commit

Permalink
Use separate containers so that logging is easier to see
Browse files Browse the repository at this point in the history
Signed-off-by: David Chung <[email protected]>
  • Loading branch information
David Chung committed Feb 16, 2017
1 parent 24ea89d commit 8fd1592
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions swarm/infrakit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,17 @@ alias infrakit='docker run --rm {{$dockerMounts}} {{$dockerEnvs}} {{$dockerImage
{{ $instanceCmd := ref "/infrakit/instance/docker/cmd" }}

echo "Starting up infrakit"
docker run -d --restart always --name manager \
{{$dockerMounts}} {{$dockerEnvs}} {{$dockerImage}} \
infrakit-manager --name group --proxy-for-group group-stateless swarm

docker run -d --restart always --name group-stateless \
{{$dockerMounts}} {{$dockerEnvs}} {{$dockerImage}} \
infrakit-group-default --poll-interval 5s --name group-stateless

docker run -d --restart always --name infrakit \
docker run -d --restart always --name flavor-swarm \
{{$dockerMounts}} {{$dockerEnvs}} {{$dockerImage}} \
infrakit plugin start --wait --config-url {{$pluginsURL}} --exec os --log 5 \
manager \
group-stateless \
flavor-swarm
infrakit-flavor-swarm --log 5

echo "Starting up instance-aws plugin"
docker run -d --restart always --name instance-plugin \
Expand Down

0 comments on commit 8fd1592

Please sign in to comment.