mirror of
https://github.com/lemeow125/Notes.git
synced 2025-08-29 12:03:47 +08:00
Compare commits
2 commits
837b8cfed4
...
8af8f58bbf
Author | SHA1 | Date | |
---|---|---|---|
8af8f58bbf | |||
a34ba49ee5 |
3 changed files with 13 additions and 9 deletions
|
@ -34,4 +34,6 @@ steps:
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- branch: master
|
- branch: master
|
||||||
event: push
|
event:
|
||||||
|
- push
|
||||||
|
- manual
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue