Skip to content

Commit

Permalink
Update config for tiler server
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Jul 4, 2024
1 parent 51be526 commit 683d496
Show file tree
Hide file tree
Showing 5 changed files with 190 additions and 44 deletions.
8 changes: 4 additions & 4 deletions compose/tiler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ services:
- tiler-imposm
ports:
- "9090:9090"
command:
- sh
- -c
- "./start.sh & ./expire-watcher.sh"
# command:
# - sh
# - -c
# - "./start.sh & ./expire-watcher.sh"
env_file:
- ../envs/.env.tiler-db
- ../envs/.env.tiler-server
Expand Down
4 changes: 3 additions & 1 deletion envs/.env.tiler-imposm.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ TILER_IMPORT_FROM=osm
TILER_IMPORT_PBF_URL=https://download.geofabrik.de/europe/monaco-latest.osm.pbf
SEQUENCE_NUMBER=4768
REPLICATION_URL=https://download.openstreetmap.fr/replication/europe/monaco/minute/
OVERWRITE_STATE=false
OVERWRITE_STATE=false
IMPORT_NATURAL_EARTH=true
IMPORT_OSM_LAND=true
4 changes: 4 additions & 0 deletions images/tiler-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ RUN apk --no-cache add \

RUN pip install --upgrade pip && pip3 install awscli mercantile


RUN ln -s /opt/tegola /usr/bin/tegola

# Volumen
VOLUME /mnt/data
# Copy config and exec files
Expand All @@ -29,4 +32,5 @@ COPY ./seed-by-diffs.sh .
COPY ./tile_cache_downloader.sh .
COPY ./rm_tegola_ps.sh .

ENTRYPOINT ["/bin/bash", "-c"]
CMD ./start.sh & ./tile_cache_downloader.sh & ./expire-watcher.sh & ./rm_tegola_ps.sh
Loading

0 comments on commit 683d496

Please sign in to comment.