Compare commits

...

2 commits

Author SHA1 Message Date
8af8f58bbf Bump node version 2025-07-10 23:24:39 +08:00
a34ba49ee5 Update .woodpecker.yml 2025-07-10 23:18:23 +08:00
3 changed files with 13 additions and 9 deletions

View file

@ -34,4 +34,6 @@ steps:
when: when:
- branch: master - branch: master
event: push event:
- push
- manual

View file

@ -1,6 +1,6 @@
steps: steps:
- name: deploy - name: deploy
image: node:18-alpine image: node:20-alpine
environment: environment:
CLOUDFLARE_ACCOUNT_ID: CLOUDFLARE_ACCOUNT_ID:
from_secret: CLOUDFLARE_ACCOUNT_ID from_secret: CLOUDFLARE_ACCOUNT_ID
@ -26,4 +26,6 @@ steps:
when: when:
- branch: master - branch: master
event: push event:
- push
- manual

View file

@ -38,19 +38,19 @@ docker run \
```bash ```bash
# Import .pbf file # Import .pbf file
docker run \ docker run \
-v /mnt/sdb1/files/docker\ projects/tileserver/philippines-latest.osm.pbf:/data/region.osm.pbf \ -v /mnt/nvme/files/docker\ projects/tileserver/philippines-latest.osm.pbf:/data/region.osm.pbf \
-v /mnt/sdb1/docker-volume-mounts/osm-data:/data/database/ \ -v /mnt/nvme/docker-volume-mounts/osm-data:/data/database/ \
-v /mnt/sdb1/docker-volume-mounts/osm-tiles:/data/tiles/ \ -v /mnt/nvme/docker-volume-mounts/osm-tiles:/data/tiles/ \
overv/openstreetmap-tile-server \ overv/openstreetmap-tile-server \
import import
# Run OSM tileserver # Run OSM tileserver
docker run \ docker run \
-p 8084:80 \ -p 8001:80 \
-e THREADS=4 \ -e THREADS=4 \
-e ALLOW_CORS=enabled \ -e ALLOW_CORS=enabled \
-v /mnt/sdb1/docker-volume-mounts/osm-data:/data/database/ \ -v /mnt/nvme/docker-volume-mounts/osm-data:/data/database/ \
-v /mnt/sdb1/docker-volume-mounts/osm-tiles:/data/tiles/ \ -v /mnt/nvme/docker-volume-mounts/osm-tiles:/data/tiles/ \
-d overv/openstreetmap-tile-server \ -d overv/openstreetmap-tile-server \
--name osm-tileserver \ --name osm-tileserver \
run run