Use later images (#289)

Since all based on Postgis 2.9, saves time on Travis as same base and smaller downloads.
pull/292/head
stirringhalo 2017-06-24 18:11:34 -04:00 zatwierdzone przez GitHub
rodzic 7ea8d1a018
commit 13bde63512
2 zmienionych plików z 8 dodań i 9 usunięć

Wyświetl plik

@ -10,9 +10,9 @@ or import specific change files.
### Keep Database Updated ### Keep Database Updated
You can use the new imposm3 feature to keep the database updated (thanks to the [work for @stirringhalo](https://github.com/openmaptiles/openmaptiles/pull/131)). This will automatically download You can use the new imposm3 feature to keep the database updated (thanks to the [work by @stirringhalo](https://github.com/openmaptiles/openmaptiles/pull/131)). This will automatically download
the OSM change feed and import it into the database. the OSM change feed and import it into the database.
After each run of you should also have a list of tiles that have updated. After each run you should also have a list of tiles that have updated.
``` ```
docker-compose run update-osm docker-compose run update-osm

Wyświetl plik

@ -4,7 +4,7 @@ volumes:
cache: cache:
services: services:
postgres: postgres:
image: "openmaptiles/postgis:2.8" image: "openmaptiles/postgis:2.9"
volumes: volumes:
- pgdata:/var/lib/postgresql/data - pgdata:/var/lib/postgresql/data
networks: networks:
@ -13,17 +13,17 @@ services:
- "5432" - "5432"
env_file: .env env_file: .env
import-natural-earth: import-natural-earth:
image: "openmaptiles/import-natural-earth:1.2" image: "openmaptiles/import-natural-earth:1.3"
env_file: .env env_file: .env
networks: networks:
- postgres_conn - postgres_conn
import-water: import-water:
image: "openmaptiles/import-water:0.4" image: "openmaptiles/import-water:0.5"
env_file: .env env_file: .env
networks: networks:
- postgres_conn - postgres_conn
import-lakelines: import-lakelines:
image: "openmaptiles/import-lakelines:0.9" image: "openmaptiles/import-lakelines:1.0"
env_file: .env env_file: .env
networks: networks:
- postgres_conn - postgres_conn
@ -39,7 +39,7 @@ services:
- ./build:/mapping - ./build:/mapping
- cache:/cache - cache:/cache
import-osmborder: import-osmborder:
image: "openmaptiles/import-osmborder:0.2" image: "openmaptiles/import-osmborder:0.3"
env_file: .env env_file: .env
networks: networks:
- postgres_conn - postgres_conn
@ -68,7 +68,7 @@ services:
- ./build:/mapping - ./build:/mapping
- cache:/cache - cache:/cache
import-sql: import-sql:
image: "openmaptiles/import-sql:0.5" image: "openmaptiles/import-sql:0.6"
env_file: .env env_file: .env
networks: networks:
- postgres_conn - postgres_conn
@ -123,7 +123,6 @@ services:
volumes: volumes:
- ./build/openmaptiles.tm2source:/mapping - ./build/openmaptiles.tm2source:/mapping
networks: networks:
postgres_conn: postgres_conn:
driver: bridge driver: bridge