kopia lustrzana https://github.com/kartoza/docker-postgis
Updated comments in docker-compose.yml (#165)
* Removed useless comment * Updated comment about extensions * Added doc for ogr_fdw,pointcloud,pointcloud_postgis extensionspull/170/head^2
rodzic
0437e00580
commit
39d21525a4
|
@ -87,6 +87,9 @@ and then run
|
||||||
docker build --build-args PG_EXTENSION=true -t kartoza/postgis:12.0 .
|
docker build --build-args PG_EXTENSION=true -t kartoza/postgis:12.0 .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The image is currently built to accommodate the following extensions `ogr_fdw`,`pointcloud`,`pointcloud_postgis` which you can use by with the environment variable
|
||||||
|
`POSTGRES_MULTIPLE_EXTENSIONS`.
|
||||||
|
|
||||||
## Run
|
## Run
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
# docker-compose build
|
# docker-compose build
|
||||||
# docker-compose up -d web
|
|
||||||
version: '2.1'
|
version: '2.1'
|
||||||
volumes:
|
volumes:
|
||||||
dbbackups:
|
dbbackups:
|
||||||
|
@ -19,7 +18,7 @@ services:
|
||||||
- POSTGRES_PASS=docker
|
- POSTGRES_PASS=docker
|
||||||
- ALLOW_IP_RANGE=0.0.0.0/0
|
- ALLOW_IP_RANGE=0.0.0.0/0
|
||||||
# Add extensions you need to be enabled by default in the DB. Default are the three specified below
|
# Add extensions you need to be enabled by default in the DB. Default are the three specified below
|
||||||
- POSTGRES_MULTIPLE_EXTENSIONS=postgis,hstore,postgis_topology,ogr_fdw,pointcloud,pointcloud_postgis
|
- POSTGRES_MULTIPLE_EXTENSIONS=postgis,hstore,postgis_topology
|
||||||
ports:
|
ports:
|
||||||
- 5434:5432
|
- 5434:5432
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
|
Ładowanie…
Reference in New Issue