Comments (1)
I was able to reproduce this.
# import
docker run --rm -e UPDATES=enabled -e THREADS=2 -v osm-data:/data/database/ overv/openstreetmap-tile-server import
# run in background
docker run -d --name osm --rm -e UPDATES=enabled -e THREADS=2 -v osm-data:/data/database/ overv/openstreetmap-tile-server run
# change the update script to write the THREADS env to a debug file instead
docker exec osm bash -c "echo 'echo \${THREADS:-default} >/tmp/debugenv' >/usr/bin/openstreetmap-tiles-update-expire.sh"
# wait a minute for crontab to execute the script
# output the contents of the debug file
docker exec osm bash -c "cat /tmp/debugenv"
This outputs default
instead of 2
.
Workaround that results in 2
being written to the file instead of default
:
docker exec osm bash -c "printenv >/etc/environment"
printenv >/etc/environment
could be added to the run.sh
here between line 174 and 175:
openstreetmap-tile-server/run.sh
Lines 174 to 175 in 6088b9b
from openstreetmap-tile-server.
Related Issues (20)
- UPDATES fail - Osmosis problem in logs causing container unexpected crash
- OOM when updating Europe
- Shared memeory size parameter with Synology Docker variant HOT 2
- Carto or Maputnik?
- Could not start the internal postgreSQL of arm64 images when import data.
- Openstreetmap not loaded
- Cannot initialize proj_transform for given projections without proj4 support (-DMAPNIK_USE_PROJ4) HOT 1
- Only renders Luxemburg HOT 6
- Getting "Permission denied" when trying to start the tile server container with docker-compose HOT 1
- Is there a way to stop and then resume the import? HOT 4
- Resource wise, what exactly is more important during the data import phase Disks, RAM or CPU? HOT 1
- How to upload to external database Postgres HOT 4
- How can I instruct the container to only generate the tiles and don't import any POI data into the DB? If possible. HOT 5
- During the data import, will it be possible to create the indexes in parallel rather than sequencially? HOT 1
- hangs on startup HOT 3
- Segmentation fault during import HOT 5
- Run container over proxy with UPDATES=ENABLED parameter
- running server If I run the server, does it automatically render for all the files?
- Import command fails for OSM data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openstreetmap-tile-server.