Skip to content

Commit

Permalink
Merge pull request #105 from PaulSchulz/master
Browse files Browse the repository at this point in the history
Added comment the README.md regarding modifying exposed ports.
  • Loading branch information
dpsoft committed Aug 29, 2019
2 parents 4ddfe29 + d829454 commit 2df4e16
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,15 @@ To view the container log
$ make tail
```

If you already have services running on your host that are using any of these ports, you may wish to map the container
ports to whatever you want by changing left side number in the `--publish` parameters. You can omit ports you do not plan to use. Find more details about mapping ports in the Docker documentation on [Binding container ports to the host](https://docs.docker.com/engine/userguide/networking/default_network/binding/) and [Legacy container links](https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/).
If you already have services running on your host that are using any
of these ports, you may wish to map the container ports to whatever
you want by changing left side number in the `--publish` parameters,
or the 'ports' parameters in 'docker-compose.yml'. You can omit ports
you do not plan to use. Find more details about mapping ports in the
Docker documentation on [Binding container ports to the
host](https://docs.docker.com/engine/userguide/networking/default_network/binding/)
and [Legacy container
links](https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/).


### Building the image yourself ###
Expand Down

0 comments on commit 2df4e16

Please sign in to comment.