Commit Graph

188 Commits

Author SHA1 Message Date
nobohan c2ce0cdd36 add a generate_tile command 2023-06-22 16:52:25 +02:00
nobohan 9da2918abc upd README about run 2023-06-22 15:30:53 +02:00
nobohan f0592abb8a FEATURE add an utility for generating tiles 2023-06-22 14:26:41 +02:00
nobohan fad138600a Add disk for database and tiles, instructions for import 2023-06-22 12:11:43 +02:00
nobohan 291ef08507 FEATURE: add a command for accessing the bash terminal 2023-06-22 11:08:13 +02:00
nobohan 773cf9c60f update README for Champs-Libres 2023-06-22 10:38:09 +02:00
Curtis Yung 61270b8bff
Add support to PostgreSQL 15 (#356)
* 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
2023-03-18 21:45:25 +01:00
galewis2 f6a6ad846a
Fix path for consistency (#314) 2023-03-18 21:14:32 +01:00
Stepan e144c4873b
readme give possibility to copy/paste command into linux terminal (#368) 2023-03-18 21:10:32 +01:00
Robin C. Ladiges 10571b77b7
validate version tags (#308)
so non-semver tags don't trigger a deployment that will fail.

It's not a normal regexp syntax. Dots `.` will only match dots and not any characters.
2022-09-27 10:04:05 -04:00
Mikael Wikstrom a814c0306a
upgrade leaflet from v1.7.1 to v1.8.0 (#315)
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>
2022-09-27 10:03:13 -04:00
Mikael Wikstrom fdacfe78ef
Add favicon.ico (#316) 2022-09-27 10:00:44 -04:00
galewis2 54624a969e
Update Dockerfile (#307) 2022-08-03 23:40:03 +02:00
balchen 005fe6968f
Added new environment variables for tile expiration to README.md (#299) 2022-07-26 23:10:49 +02:00
galewis2 25a661e3da
Actually allow modifying the replication URL (#297) 2022-07-22 09:18:24 -04:00
balchen 67d127b201
Use tile expiration settings from env if set, or default values as be… (#296)
* 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>
2022-07-22 13:33:07 +02:00
Robin C. Ladiges afd62f33a0
multiarch build for additional linux/arm64/v8 support (#292)
* 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)
2022-07-19 08:59:17 +02:00
galewis2 21b409863e
Simplify parsing of timestamp (#294) 2022-07-15 08:19:46 -04:00
galewis2 81c3433055
Reduce dependencies for updates, switch to Ubuntu 22.04 (#234) 2022-07-05 08:23:15 -04:00
Robin C. Ladiges dc47871a5d
warn about FLAT_NODES w/ UPDATES incompatibility (#282)
See https://github.com/Zverik/regional/issues/17
2022-05-25 22:21:56 +02:00
Robin C. Ladiges 5572c9722e
create /data/database/postgres/ if missing (#273)
fix for issue #271
2022-05-02 00:43:17 +02:00
Robin C. Ladiges cffbd7be5b
changed volume paths ; FLAT_NODES=enabled (#261)
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
2022-04-09 15:00:29 +02:00
Robin C. Ladiges d0673dc72d
cancel outdated jobs for the same reference (#263) 2022-04-09 08:45:57 +02:00
Robin C. Ladiges ef7ba04540
badge with latest semver tag on docker hub (#262) 2022-04-08 23:48:31 +02:00
Robin C. Ladiges 522f66437c
Build, test and deploy with Github Actions (#260)
* 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
2022-04-08 22:50:56 +02:00
galewis2 0f229a0cbd
Allow easier modification of the OpenStreetMap-carto style (#243) 2022-03-31 07:44:56 -04:00
galewis2 f1203714c1
Upgrade versions (#248) 2022-03-28 09:12:13 -04:00
BudDavis e6e8c2d427
Add notes about running without internet connection (#250) 2022-03-24 08:36:00 -04:00
Alexander Overvoorde 672e2cd5b3
Be explicit about intention of double max_wal_size specificiation 2022-01-04 19:50:35 +01:00
Alexander Overvoorde a1cbf0d74c Add proper error checking to run script 2021-12-11 15:39:36 +01:00
Alexander Overvoorde 705237446a Fix update script no longer working (fixes #222) 2021-11-08 22:18:47 +01:00
Stjepan Cvitanovic 1e684edb6a
Added E flag (#217)
Added -E flag to use the set up environment.
2021-10-11 22:22:17 +02:00
galewis2 4b93ca3e52
Make the image smaller (#214)
* Update Dockerfile

* Add comment

* rm debs after install

* Get ready for buildkit

* Update Dockerfile

* Cleanup indenting

* Update Dockerfile

* Update Dockerfile

* Install certificates required for downloads

Co-authored-by: Alexander Overvoorde <overv161@gmail.com>
2021-10-11 22:15:44 +02:00
Andrey Prih 0a4d079b08
fix naciscdn.org (#212)
* fix naciscdn.org

* fix

Co-authored-by: prih <prih@prihhost.com>
2021-09-07 21:39:35 +02:00
Alexander Overvoorde 60ac7657d1 Don't clutter output of usage instructions 2021-09-03 12:51:45 +02:00
Alexander Overvoorde ce176ae32e Fix erroneous quotes around WGET_ARGS (fixes #210) 2021-09-03 12:46:37 +02:00
Alexander Overvoorde 7b82bcae9d
Use indexes.sql included with openstreetmap-carto instead of own copy (fixes #204) (#205) 2021-07-19 22:05:18 +02:00
Jason Montleon 85eaca5c79
Install python-is-python3 for openstreetmap-tiles-update-expire (#201) 2021-07-03 15:28:40 +02:00
Alexander Overvoorde 9679b29b50
Update NodeJS to 14 LTS (#185) 2021-05-13 14:44:24 +02:00
ruhepuls 8f2c575ad6
Carto 5.3.1 integrated (#183) 2021-05-13 14:41:01 +02:00
Alexander Overvoorde 75e7714f20
Merge pull request #168 from Overv/ubuntu-20.04
Upgrade to Ubuntu 20.04
2021-03-07 16:34:51 +01:00
Alexander Overvoorde ec500a2cde Upgrade to Ubuntu 20.04 2021-03-07 16:34:21 +01:00
Alexander Overvoorde affae5a92d
Merge pull request #169 from mhajder/feature/update-components
Update PostGIS, OpenStreetMap Carto stylesheet and trim_osc.py helper
2021-03-01 21:47:13 +01:00
Mateusz Hajder a204fb85fd
Update PostGIS, OpenStreetMap Carto stylesheet and trim_osc.py helper 2021-02-21 15:37:07 +01:00
Alexander Overvoorde 7636079b4d
Merge pull request #164 from jdmonin/readme-switch-url-moved 2021-02-10 21:09:28 +01:00
Jeremy D Monin 2ae828c52b Dockerfile: Update same switch2osm.org url as readme 2021-02-07 15:56:36 -05:00
Jeremy D Monin 6fb62935f3 README: Update link to switch2osm.org tile server guide 2021-02-06 16:20:46 -05:00
Alexander Overvoorde 953232051f Show progress output for wget by default (fixes #156) 2020-10-27 20:55:02 +01:00
Alexander Overvoorde bedff2a880
Merge pull request #150 from ph1ll/patch-1
Fix Osmosis configuration change
2020-09-17 21:40:58 +02:00
Ph1ll e79901b7dd
Fix Osmosis configuration change 2020-09-16 10:05:33 +01:00