Commit Graph

242 Commits

Author SHA1 Message Date
Florian Stosse
40524599c9 CI: improve Docker build 2025-08-26 16:38:24 +02:00
Florian Stosse
aea754aacb Switch to pipx 2025-08-26 16:28:37 +02:00
Florian Stosse
e24214ee5b Merge pull request #2 from Harvester57/dependabot/github_actions/actions-dependencies-796ea8f614
actions: bump the actions-dependencies group with 7 updates
2025-08-26 16:25:24 +02:00
dependabot[bot]
f29d029244 actions: bump the actions-dependencies group with 7 updates
Bumps the actions-dependencies group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `3.6.0` | `5.0.0` |
| [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) | `2.2.0` | `3.6.0` |
| [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | `2.10.0` | `3.11.1` |
| [docker/build-push-action](https://github.com/docker/build-push-action) | `3.3.1` | `6.18.0` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `3.2.1` | `4.6.2` |
| [docker/metadata-action](https://github.com/docker/metadata-action) | `4.6.0` | `5.8.0` |
| [docker/login-action](https://github.com/docker/login-action) | `2.2.0` | `3.5.0` |


Updates `actions/checkout` from 3.6.0 to 5.0.0
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](f43a0e5ff2...08c6903cd8)

Updates `docker/setup-qemu-action` from 2.2.0 to 3.6.0
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](2b82ce82d5...29109295f8)

Updates `docker/setup-buildx-action` from 2.10.0 to 3.11.1
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](885d1462b8...e468171a9d)

Updates `docker/build-push-action` from 3.3.1 to 6.18.0
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](1104d47137...263435318d)

Updates `actions/upload-artifact` from 3.2.1 to 4.6.2
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](ff15f0306b...ea165f8d65)

Updates `docker/metadata-action` from 4.6.0 to 5.8.0
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](818d4b7b91...c1e51972af)

Updates `docker/login-action` from 2.2.0 to 3.5.0
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](465a07811f...184bdaa072)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-dependencies
- dependency-name: docker/setup-qemu-action
  dependency-version: 3.6.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-dependencies
- dependency-name: docker/setup-buildx-action
  dependency-version: 3.11.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-dependencies
- dependency-name: docker/build-push-action
  dependency-version: 6.18.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-dependencies
- dependency-name: actions/upload-artifact
  dependency-version: 4.6.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-dependencies
- dependency-name: docker/metadata-action
  dependency-version: 5.8.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-dependencies
- dependency-name: docker/login-action
  dependency-version: 3.5.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-26 14:21:18 +00:00
Florian Stosse
5b60f758cd Update dependabot.yml 2025-08-26 16:12:25 +02:00
Florian Stosse
f6a01631c7 Update Dockerfile 2025-08-26 15:21:29 +02:00
Florian Stosse
9ae7367aba Update dependabot.yml 2025-08-26 15:19:01 +02:00
Florian Stosse
70765dcbea Merge pull request #1 from step-security-bot/chore/GHA-261315-stepsecurity-remediation
[StepSecurity] Apply security best practices
2025-08-26 15:16:19 +02:00
StepSecurity Bot
6d521cf63a [StepSecurity] Apply security best practices
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
2025-08-26 13:15:43 +00:00
Kai Liebscher
6088b9b37f upgrade carto from v0.18.2 to v1.2.0 (#355) (#359)
Co-authored-by: Kai Liebscher <kliebscher@micromata.de>
2023-06-25 12:34:51 +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