Skip to content

Commit 3de6e66

Browse files
committed
updated README.md
1 parent 4366eb6 commit 3de6e66

File tree

1 file changed

+43
-43
lines changed

1 file changed

+43
-43
lines changed

README.md

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -24,37 +24,30 @@ pgRouting Docker images.
2424
There are several versions available:
2525

2626
- With pgRouting v3:
27-
- [3.2.1 with Postgres 13 + PostGIS 3.1](13-3.1-3.2.1/). Docker image: `pgrouting/pgrouting:13-3.1-3.2.1`
28-
- [3.2.1 with Postgres 12 + PostGIS 3.1](12-3.1-3.2.1/). Docker image: `pgrouting/pgrouting:12-3.1-3.2.1`
29-
- [3.2.1 with Postgres 11 + PostGIS 3.1](11-3.1-3.2.1/). Docker image: `pgrouting/pgrouting:11-3.1-3.2.1`
30-
- [3.2.0 with Postgres 13 + PostGIS 3.1](13-3.1-3.2.0/). Docker image: `pgrouting/pgrouting:13-3.1-3.2.0`
31-
- [3.2.0 with Postgres 12 + PostGIS 3.1](12-3.1-3.2.0/). Docker image: `pgrouting/pgrouting:12-3.1-3.2.0`
32-
- [3.2.0 with Postgres 11 + PostGIS 3.1](11-3.1-3.2.0/). Docker image: `pgrouting/pgrouting:11-3.1-3.2.0`
33-
- [3.1.3 with Postgres 13 + PostGIS 3.1](13-3.1-3.1.3/). Docker image: `pgrouting/pgrouting:13-3.1-3.1.3`
34-
- [3.1.3 with Postgres 12 + PostGIS 3.1](12-3.1-3.1.3/). Docker image: `pgrouting/pgrouting:12-3.1-3.1.3`
35-
- [3.1.3 with Postgres 11 + PostGIS 3.1](11-3.1-3.1.3/). Docker image: `pgrouting/pgrouting:11-3.1-3.1.3`
36-
- [3.1.1 with Postgres 13 + PostGIS 3.0](13-3.0-3.1.1/). Docker image: `pgrouting/pgrouting:13-3.0-3.1.1`
37-
- [3.1.1 with Postgres 12 + PostGIS 3.0](12-3.0-3.1.1/). Docker image: `pgrouting/pgrouting:12-3.0-3.1.1`
38-
- [3.1.1 with Postgres 11 + PostGIS 3.0](11-3.0-3.1.1/). Docker image: `pgrouting/pgrouting:11-3.0-3.1.1`
39-
- [3.1.0 with Postgres 13 + PostGIS 3.0](13-3.0-3.1.0/). Docker image: `pgrouting/pgrouting:13-3.0-3.1.0`
40-
- [3.1.0 with Postgres 12 + PostGIS 3.0](12-3.0-3.1.0/). Docker image: `pgrouting/pgrouting:12-3.0-3.1.0`
41-
- [3.1.0 with Postgres 11 + PostGIS 3.0](11-3.0-3.1.0/). Docker image: `pgrouting/pgrouting:11-3.0-3.1.0`
42-
- [3.0.1 with Postgres 12 + PostGIS 3.0](12-3.0-3.0.1/). Docker image: `pgrouting/pgrouting:12-3.0-3.0.1`
43-
- [3.0.1 with Postgres 11 + PostGIS 3.0](11-3.0-3.0.1/). Docker image: `pgrouting/pgrouting:11-3.0-3.0.1`
44-
- [3.0.0 with Postgres 12 + PostGIS 3.0](12-3.0-3.0.0/). Docker image: `pgrouting/pgrouting:12-3.0-3.0.0`
45-
- [3.0.0 with Postgres 11 + PostGIS 3.0](11-3.0-3.0.0/). Docker image: `pgrouting/pgrouting:11-3.0-3.0.0`
46-
- With pgRouting master branch (*):
47-
- [master branch with Postgres 13 + PostGIS 3.1](13-3.0-develop/). Docker image: `pgrouting/pgrouting:13-3.0-master`
48-
- [master branch with Postgres 12 + PostGIS 3.1](12-3.0-develop/). Docker image: `pgrouting/pgrouting:12-3.0-master`
49-
- [master branch with Postgres 11 + PostGIS 2.5](11-2.5-develop/). Docker image: `pgrouting/pgrouting:11-2.5-master`
50-
- [master branch with Postgres 10 + PostGIS 2.5](10-2.5-develop/). Docker image: `pgrouting/pgrouting:10-2.5-master`
27+
- [3.4 with Postgres 15 + PostGIS 3.3](15-3.3-3.4/). Docker image: `pgrouting/pgrouting:15-3.3-3.4`
28+
- [3.4 with Postgres 14 + PostGIS 3.3](14-3.3-3.4/). Docker image: `pgrouting/pgrouting:14-3.3-3.4`
29+
- [3.4 with Postgres 13 + PostGIS 3.3](13-3.3-3.4/). Docker image: `pgrouting/pgrouting:13-3.3-3.4`
30+
- [3.4 with Postgres 12 + PostGIS 3.3](12-3.3-3.4/). Docker image: `pgrouting/pgrouting:12-3.3-3.4`
31+
- [3.4 with Postgres 11 + PostGIS 3.3](11-3.3-3.4/). Docker image: `pgrouting/pgrouting:11-3.3-3.4`
32+
- [3.3 with Postgres 15 + PostGIS 3.3](15-3.3-3.3/). Docker image: `pgrouting/pgrouting:15-3.3-3.3`
33+
- [3.3 with Postgres 14 + PostGIS 3.3](14-3.3-3.3/). Docker image: `pgrouting/pgrouting:14-3.3-3.3`
34+
- [3.3 with Postgres 13 + PostGIS 3.3](13-3.3-3.3/). Docker image: `pgrouting/pgrouting:13-3.3-3.3`
35+
- [3.3 with Postgres 12 + PostGIS 3.3](12-3.3-3.3/). Docker image: `pgrouting/pgrouting:12-3.3-3.3`
36+
- [3.3 with Postgres 11 + PostGIS 3.3](11-3.3-3.3/). Docker image: `pgrouting/pgrouting:11-3.3-3.3`
37+
- With pgRouting main branch (*):
38+
- [main branch with Postgres 15 + PostGIS 3.3](15-3.3-main/). Docker image: `pgrouting/pgrouting:15-3.3-main`
39+
- [main branch with Postgres 14 + PostGIS 3.3](14-3.3-main/). Docker image: `pgrouting/pgrouting:14-3.3-main`
40+
- [main branch with Postgres 13 + PostGIS 3.3](13-3.3-main/). Docker image: `pgrouting/pgrouting:13-3.3-main`
41+
- [main branch with Postgres 12 + PostGIS 3.3](12-3.3-main/). Docker image: `pgrouting/pgrouting:12-3.3-main`
42+
- [main branch with Postgres 11 + PostGIS 3.3](11-3.3-main/). Docker image: `pgrouting/pgrouting:11-3.3-main`
5143
- With pgRouting develop branch (*):
52-
- [develop branch with Postgres 13 + PostGIS 3.0](13-3.0-develop/). Docker image: `pgrouting/pgrouting:13-3.0-develop`
53-
- [develop branch with Postgres 12 + PostGIS 3.0](12-3.0-develop/). Docker image: `pgrouting/pgrouting:12-3.0-develop`
54-
- [develop branch with Postgres 11 + PostGIS 2.5](11-2.5-develop/). Docker image: `pgrouting/pgrouting:11-2.5-develop`
55-
- [develop branch with Postgres 10 + PostGIS 2.5](10-2.5-develop/). Docker image: `pgrouting/pgrouting:10-2.5-develop`
44+
- [develop branch with Postgres 15 + PostGIS 3.3](15-3.3-develop/). Docker image: `pgrouting/pgrouting:15-3.3-develop`
45+
- [develop branch with Postgres 14 + PostGIS 3.3](14-3.3-develop/). Docker image: `pgrouting/pgrouting:14-3.3-develop`
46+
- [develop branch with Postgres 13 + PostGIS 3.3](13-3.3-develop/). Docker image: `pgrouting/pgrouting:13-3.3-develop`
47+
- [develop branch with Postgres 12 + PostGIS 3.3](12-3.3-develop/). Docker image: `pgrouting/pgrouting:12-3.3-develop`
48+
- [develop branch with Postgres 11 + PostGIS 3.3](11-3.3-develop/). Docker image: `pgrouting/pgrouting:11-3.3-develop`
5649

57-
(*) If you want to use the last versions of develop or master branches you should consider to build the image by your own. See [here](#how-to-build-images) how to build images:
50+
(*) If you want to use the last versions of develop or main branches you should consider to build the image by your own. See [here](#how-to-build-images) how to build images:
5851

5952
## Tag roles
6053

@@ -69,32 +62,37 @@ Tag for pgRouting 3.4.1 with PostgreSQL 15 and PostGIS 3.3:
6962
### Running pgRouting with Docker compose
7063

7164
Run postgres database:
72-
```
65+
```sh
7366
$ cd 15-3.3-3.4
7467
$ docker-compose up
7568
```
7669

7770
### Running pgRouting without Docker compose
7871

7972
Run postgres database:
80-
```
81-
$ docker run --name pgrouting -p 5432:5432 pgrouting/pgrouting:15-3.3-3.4.1
73+
```sh
74+
$ docker run --name pgrouting -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d pgrouting/pgrouting:15-3.3-3.4.1
8275
```
8376

8477
## How to build images
8578

8679
Building images:
80+
```sh
81+
$ cd 15-3.3-3.4
82+
$ docker build -t pgrouting/pgrouting:15-3.3-3.4.1 .
8783
```
88-
$ docker build -t pgrouting/pgrouting:13-3.0-master .
89-
```
90-
84+
(Check pgrouting full version from `./15-3.3-3.4/README.md`.)
9185

9286
### Using psql with Docker compose:
9387

88+
```sh
89+
$ docker-compose exec pgrouting psql -U postgres
90+
```
91+
9492
Example:
9593

9694
```
97-
psql (13.3 (Debian 13.3-1.pgdg100+1))
95+
psql (15.1 (Debian 15.1-1.pgdg110+1))
9896
Type "help" for help.
9997
10098
postgres=# create database test;
@@ -106,21 +104,23 @@ CREATE EXTENSION
106104
test=# create extension pgrouting;
107105
CREATE EXTENSION
108106
test=# select version();
109-
version
110-
------------------------------------------------------------------------------------------------------------------
111-
PostgreSQL 13.3 (Debian 13.3-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
107+
version
108+
-----------------------------------------------------------------------------------------------------------------------------
109+
PostgreSQL 15.1 (Debian 15.1-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
112110
(1 row)
113111
114112
test=# select pgr_version();
115113
pgr_version
116114
-------------
117-
3.2.0
115+
3.4.1
118116
(1 row)
119117
120118
test=# select postgis_full_version();
121-
postgis_full_version
122-
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
123-
POSTGIS="3.1.2 cbe925d" [EXTENSION] PGSQL="130" GEOS="3.7.1-CAPI-1.11.1 27a5e771" PROJ="Rel. 5.2.0, September 15th, 2018" LIBXML="2.9.4" LIBJSON="0.12.1" LIBPROTOBUF="1.3.1" WAGYU="0.5.0 (Internal)"
119+
postgis_full_version
120+
---------------------------------------------------------------------------------------------------------------------------------------
121+
----------------------------
122+
POSTGIS="3.3.2 4975da8" [EXTENSION] PGSQL="150" GEOS="3.9.0-CAPI-1.16.2" PROJ="7.2.1" LIBXML="2.9.10" LIBJSON="0.15" LIBPROTOBUF="1.3.
123+
3" WAGYU="0.5.0 (Internal)"
124124
(1 row)
125125
126126
test=#

0 commit comments

Comments
 (0)