Comments (3)
I tend to avoid using databases inside docker containers because they are too difficult to tune properly, especially with one as big as OSM. Though I do understand this is a necessity for most people to just get up and running.
I have a cluster of postgres servers I'd love to be able to offload to. If possible it would be great if the API just had an environment
variable for pointing to a database, then link them in the default compose configuration. The problem with "external" databases from nominatim is the required extension that gets installed, I'm not sure if this is something the API container could handle during intial setup or something you were planning on addressing in the postgres container image. Also, if using something like docker swarm, there might be more than 1 instance of the API container running, so preventing conflicts or issues during updates may be problematic.
from nominatim-docker.
If anything, it would be incredibly helpful just to separate it into two containers.
from nominatim-docker.
I'd love to be able to initialize the build blocks of the containers until you have to import data. Having to re-initialize the first steps can take quite a lot of time. Take a look at this other nominatim-docker which uses this mechanic.
from nominatim-docker.
Related Issues (18)
- Would it be possible for this to work on weaker hardware? HOT 1
- Proper way to run built container? HOT 2
- Updating the database HOT 1
- did not find all addresses which are found by nominatim.openstreetmap.org
- postgis error HOT 4
- PHP Version Upgrade
- Database query failed Step 49/68 HOT 1
- Build failed on Ubuntu HOT 1
- ERROR: No Data during build HOT 1
- Package 'postgresql-9.6-postgis-scripts' has no installation candidate HOT 1
- PostGIS error in step 49/68 HOT 3
- E: Package 'postgresql-9.6-postgis-scripts' has no installation candidate HOT 4
- ImportError: No module named 'psycopg2' HOT 3
- Build Failaure HOT 2
- Unable to build nominatim planet HOT 14
- Simple question about postgre access HOT 2
- Build stopped working HOT 4
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 nominatim-docker.