Code Monkey home page Code Monkey logo

Comments (3)

ryan-morris avatar ryan-morris commented on May 28, 2024

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.

bryanrideshark avatar bryanrideshark commented on May 28, 2024

If anything, it would be incredibly helpful just to separate it into two containers.

from nominatim-docker.

UntitleDude avatar UntitleDude commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.