kopia lustrzana https://github.com/kartoza/docker-osm
pull/1/head
rodzic
ed29f2d456
commit
b7aa175593
|
@ -6,9 +6,9 @@ storage:
|
||||||
- ./settings:/home/settings
|
- ./settings:/home/settings
|
||||||
|
|
||||||
db:
|
db:
|
||||||
#image: etrimaille/postgis
|
image: etrimaille/postgis
|
||||||
#image: kartoza/postgis
|
#image: kartoza/postgis
|
||||||
build: ../docker-postgis
|
#build: ../docker-postgis
|
||||||
hostname: db
|
hostname: db
|
||||||
environment:
|
environment:
|
||||||
- USERNAME=docker
|
- USERNAME=docker
|
||||||
|
@ -16,8 +16,8 @@ db:
|
||||||
# - HSTORE=true
|
# - HSTORE=true
|
||||||
|
|
||||||
imposm:
|
imposm:
|
||||||
#image: etrimaille/imposm
|
image: etrimaille/imposm
|
||||||
build: ../docker-imposm3
|
#build: ../docker-imposm3
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- storage
|
- storage
|
||||||
links:
|
links:
|
||||||
|
@ -31,8 +31,8 @@ imposm:
|
||||||
- TIME=120
|
- TIME=120
|
||||||
|
|
||||||
osmupdate:
|
osmupdate:
|
||||||
#image: etrimaille/osmupdate
|
image: etrimaille/osmupdate
|
||||||
build: ../docker-osmupdate
|
#build: ../docker-osmupdate
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- storage
|
- storage
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
Copy an OSM file (*.pbf) and its state file(*.state.txt) into base-pbf. The state file contains the timestamp of the OSM file.
|
Copy an OSM file (*.pbf) and its state file(*.state.txt) into base-pbf. The state file contains the timestamp of the OSM file. You can add a [polygon file](http://wiki.openstreetmap.org/wiki/Osmosis/Polygon_Filter_File_Format) for the clipping.
|
||||||
Check that a *.json is present in 'settings'.
|
Check that a *.json is present in 'settings' for the mapping.
|
||||||
|
|
||||||
``docker-compose build``
|
``docker-compose build``
|
||||||
``docker-compose up``
|
``docker-compose up``
|
||||||
|
|
||||||
|
You should read the documentation about [docker-imposm](https://github.com/gustry/docker-imposm3) and [docker-osmupdate](https://github.com/Gustry/docker-osmupdate) for settings.
|
||||||
|
|
Ładowanie…
Reference in New Issue