Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@ $ docker run --name some-pgrouting \
-d starefossen/pgrouting
```

If you want to start this same basic container, but be able to connect to it externally, start it as follows:

```bash
$ docker run --name some-pgrouting \
-e POSTGRES_PASSWORD=mysecretpassword \
-p 5433:5432
-d starefossen/pgrouting
```

The container will then be reachable at port 5433 from your local system.

For more detailed instructions about how to start and control your Postgres
container, see the documentation for the `postgres` image
[here](https://registry.hub.docker.com/_/postgres/).
Expand Down