~stub/bottledwater/trunk

« back to all changes in this revision

Viewing changes to docker-compose.yml

  • Committer: GitHub
  • Author(s): Sam Stokes
  • Date: 2016-08-12 21:36:23 UTC
  • mfrom: (133.1.3)
  • Revision ID: git-v1:c55e776b85cfc7d2d8a8d22e9a53f956241c76a5
Merge pull request #106 from samstokes/fix-getting-started

Bring getting started instructions up to date.  Fixes #105 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# N.B. assumes you have set the environment variable
2
 
# KAFKA_ADVERTISED_HOST_NAME, in the environment of the host where you are
3
 
# running docker-compose, to the IP address of the Docker host.
4
 
#
5
 
# You can determine the Docker host IP with a command like:
 
1
# N.B. assumes you have set the following environment variables in the
 
2
# environment of the host where you are running docker-compose:
 
3
#
 
4
# * KAFKA_ADVERTISED_HOST_NAME: set to the IP address of the Docker host
 
5
#   (see below).
 
6
#
 
7
# * KAFKA_LOG_CLEANUP_POLICY: "delete" or "compact" (see log.cleanup.policy in
 
8
#   the Kafka docs)
 
9
#
 
10
# * KAFKA_AUTO_CREATE_TOPICS_ENABLE: "true" or "false" (see
 
11
#   auto.create.topics.enable in the Kafka docs)
 
12
#
 
13
# You can determine the IP address of the Docker host with a command like:
6
14
#
7
15
#   docker run --rm debian:latest ip route | awk '/^default via / { print $3 }'
8
16
 
37
45
  dockerfile: Dockerfile.postgres94
38
46
  hostname: postgres
39
47
  ports:
40
 
    - '45432:5432'
 
48
    - '54094:5432'
41
49
postgres:
42
50
  build: ./tmp
43
51
  dockerfile: Dockerfile.postgres
44
52
  hostname: postgres
45
53
  ports:
46
 
    - '45432:5432'
 
54
    - '54095:5432'
47
55
bottledwater:
48
56
  build: ./tmp
49
57
  dockerfile: Dockerfile.client