* Update Dockerfile
add support to PostgreSQL 15 and alter encryption method to scram-sha-256 instead of md5
* Update run.sh
add support to PostgreSQL 15
Leaflet 1.8.0 Stable version, released on April 18, 2022.
Leaflet 1.7.1 Previous stable version, released on September 3, 2020.
install leaflet localy so server works offline
Co-authored-by: galewis2 <62433564+galewis2@users.noreply.github.com>
* Use tile expiration settings from env if set, or default values as before.
* Update openstreetmap-tiles-update-expire.sh
Co-authored-by: galewis2 <62433564+galewis2@users.noreply.github.com>
* multiarch build for additional linux/arm64/v8 and linux/arm/v7 support
This commit fixes issue #291
* print logs of run command
* drop arm/v7 for now (untested)
* build arm64/v8 parallel during the build stage (without testing the image)
Changes:
- /var/lib/postgresql/14/main/ => /data/database/
- /var/lib/mod_tile/ => /data/tiles/
- /home/renderer/src/openstreetmap-carto/ => /data/style/
- /data.osm.pbf => /data/region.osm.pbf
- /data.poly => /data/region.poly
- /nodes/flat_nodes.bin => deprecated (use FLAT_NODES=enabled instead)
Because some files are needed later and should never be separated from the database, the import does save those files now into /data/databases/:
- /data/database/region.poly
- /data/database/flat_nodes.bin
- /data/database/planet-import-complete
- and automatic update artifacts
* workflow: build and test pushes and pull_requests to master ; deploy image to GHCR
* improved tiles verification (*)
- Export the tiles as an artifact before verifying.
- Only empty.png is verified via checksum.
- Verify that all tiles are image/png files.
- Verify that all tiles are different from another.
* import and start the test server with automatic updates
* DockerHub deployment (*)
if secrets.DOCKERHUB_USERNAME and secrets.DOCKERHUB_PASSWORD are non-empty