Commit Graph

204 Commits

Author SHA1 Message Date
nobohan
4895e86c55 OAM: create extension sfcgal for ST_approximateMedialAxis function 2023-07-04 12:48:43 +02:00
nobohan
d8251d5dd7 OAM: mv symbols folder (img) and correct path for contour 2023-07-04 12:37:16 +02:00
nobohan
ba14c03705 OAM: change osm2pgsql import command to oam 2023-07-04 10:19:43 +02:00
nobohan
f3ec2c0df0 OAM: adapt dbname, contour and hillshade paths 2023-07-03 18:34:24 +02:00
nobohan
17edd862a7 OAM: change repo for style and adapt paths for OAM 2023-07-03 17:57:06 +02:00
nobohan
a62a10552b correct generate_tiles command: adding compilation of style 2023-06-29 08:59:37 +02:00
nobohan
b994c64d6b Cyclosm: add contours in db 2023-06-26 17:19:36 +02:00
nobohan
f5c2022e7f Cyclosm: add hillshade 2023-06-26 15:54:16 +02:00
nobohan
830155628f Cyclosm: change the 'default' name for apache and renderd to 'cyclosm' 2023-06-26 10:27:25 +02:00
nobohan
40a760e941 Cyclosm: remove (deprecated) font warning in mapnik 2023-06-26 10:26:44 +02:00
nobohan
6488beaf79 Cyclosm: Add cyclosm SQL views 2023-06-26 09:22:40 +02:00
nobohan
0fca85665f Cyclosm: factorise compile-style function and change dbname in project.mml 2023-06-26 09:02:43 +02:00
nobohan
ebe7d6b336 Cyclosm: move symbols folder 2023-06-25 22:48:48 +02:00
nobohan
0bbebc0f4a cyclosm: add downloaded shp 2023-06-25 22:29:33 +02:00
nobohan
c2b79805a0 adapt renderd.conf and add compilation of cyclosm style 2023-06-25 17:40:32 +02:00
nobohan
6276d18671 adapt carto mapnik xml compilation and osm2pgsql import for cyclosm 2023-06-25 10:49:01 +02:00
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