From e6e8c2d427564a7b7d44043e8e3744c692dd6b2b Mon Sep 17 00:00:00 2001 From: BudDavis Date: Thu, 24 Mar 2022 07:36:00 -0500 Subject: [PATCH] Add notes about running without internet connection (#250) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 4d6f47b..86c3915 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,10 @@ docker run \ If the container exits without errors, then your data has been successfully imported and you are now ready to run the tile server. +Note that the import process requires an internet connection. The run process does not require an internet connection. If you want to run the openstreetmap-tile server on a computer that is isolated, you must first import on an internet connected computer, export the openstreetmap-data volume as a tarfile, and then restore the data volume on the target computer system. + +Also when running on an isolated system, the default index.html from the container will not work, as it requires access to the web for the leaflet packages. + ### Automatic updates (optional) If your import is an extract of the planet and has polygonal bounds associated with it, like those from geofabrik.de, then it is possible to set your server up for automatic updates. Make sure to reference both the OSM file and the polygon file during the import process to facilitate this, and also include the `UPDATES=enabled` variable: