Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Fi license for the docker compose dfinition + some small changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
pilhuhn committed Aug 3, 2015
1 parent 6119eee commit be50a8b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
21 changes: 20 additions & 1 deletion dist/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
#
# Copyright 2015 Red Hat, Inc. and/or its affiliates
# and other contributors as indicated by the @author tags.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

#
#This is a definition for Docker-compose to fire cassandra and Hawkular in one go
#
hawkular:
image: hawkular:snapshot-l
image: hawkular:snapshot
ports:
- "8080:8080"
- "8443:8443"
Expand Down
6 changes: 4 additions & 2 deletions dist/docker/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,10 @@ docker run -v /Users/hrupp/tmp/cassandra:/var/lib/cassandra/data --name my_cassa

=== Using docker-compose

Docker has a tool `docker-compose`, that can be used to instrument a full application including linking of containers.
You need to separately http://docs.docker.com/compose/#installation-and-set-up[download compose] and can then start
Docker has a tool http://docs.docker.com/compose/[`docker-compose`], that can be used to instrument a full application
including linking of containers.

You need to separately http://docs.docker.com/compose/install/[download compose] and can then start
Hawkular with a linked Cassandra container:

[source,shell]
Expand Down

0 comments on commit be50a8b

Please sign in to comment.