Updated comments in docker-compose.yml (#165)

* Removed useless comment

* Updated comment about extensions

* Added doc for ogr_fdw,pointcloud,pointcloud_postgis extensions
pull/170/head^2
pierrealixt 2019-12-03 11:39:15 +02:00 zatwierdzone przez mazano
rodzic 0437e00580
commit 39d21525a4
2 zmienionych plików z 58 dodań i 56 usunięć

Wyświetl plik

@ -87,6 +87,9 @@ and then run
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

Wyświetl plik

@ -1,5 +1,4 @@
# docker-compose build
# docker-compose up -d web
version: '2.1'
volumes:
dbbackups:
@ -19,7 +18,7 @@ services:
- POSTGRES_PASS=docker
- 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
- POSTGRES_MULTIPLE_EXTENSIONS=postgis,hstore,postgis_topology,ogr_fdw,pointcloud,pointcloud_postgis
- POSTGRES_MULTIPLE_EXTENSIONS=postgis,hstore,postgis_topology
ports:
- 5434:5432
restart: on-failure