kopia lustrzana https://github.com/kartoza/docker-osm
pull/1/head
rodzic
9805343d76
commit
ed29f2d456
|
@ -6,16 +6,17 @@ storage:
|
||||||
- ./settings:/home/settings
|
- ./settings:/home/settings
|
||||||
|
|
||||||
db:
|
db:
|
||||||
#image: postgis
|
#image: etrimaille/postgis
|
||||||
|
#image: kartoza/postgis
|
||||||
build: ../docker-postgis
|
build: ../docker-postgis
|
||||||
hostname: db
|
hostname: db
|
||||||
environment:
|
environment:
|
||||||
- USERNAME=docker
|
- USERNAME=docker
|
||||||
- PASS=docker
|
- PASS=docker
|
||||||
- HSTORE=true
|
# - HSTORE=true
|
||||||
|
|
||||||
imposm:
|
imposm:
|
||||||
#image: imposm
|
#image: etrimaille/imposm
|
||||||
build: ../docker-imposm3
|
build: ../docker-imposm3
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- storage
|
- storage
|
||||||
|
@ -27,9 +28,12 @@ imposm:
|
||||||
- PORT=5432
|
- PORT=5432
|
||||||
- HOST=db
|
- HOST=db
|
||||||
- DATEBASE=gis
|
- DATEBASE=gis
|
||||||
|
- TIME=120
|
||||||
|
|
||||||
osmupdate:
|
osmupdate:
|
||||||
#image: osmupdate
|
#image: etrimaille/osmupdate
|
||||||
build: ../docker-osmupdate
|
build: ../docker-osmupdate
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- storage
|
- storage
|
||||||
|
environment:
|
||||||
|
- TIME=120
|
11
readme.md
11
readme.md
|
@ -1,12 +1,5 @@
|
||||||
Next to ``docker-osm`` :
|
Copy an OSM file (*.pbf) and its state file(*.state.txt) into base-pbf. The state file contains the timestamp of the OSM file.
|
||||||
|
Check that a *.json is present in 'settings'.
|
||||||
``git clone https://github.com/Gustry/docker-osmupdate.git``
|
|
||||||
``git clone https://github.com/Gustry/docker-imposm.git``
|
|
||||||
``git clone https://github.com/Gustry/docker-postgis.git``
|
|
||||||
|
|
||||||
``mkdir base-pbf``
|
|
||||||
|
|
||||||
Copy a OSM file and its state file(*.state.txt) into base-pbf. The state file contains the timestamp of the OSM file.
|
|
||||||
|
|
||||||
``docker-compose build``
|
``docker-compose build``
|
||||||
``docker-compose up``
|
``docker-compose up``
|
|
@ -0,0 +1 @@
|
||||||
|
This folder should contain a json file for the mapping. You can also put a SQL file, it will be executed after the PBF import.
|
Ładowanie…
Reference in New Issue