-
Notifications
You must be signed in to change notification settings - Fork 448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection to an external database #406
Comments
I would like to point out that this is not a big so I remove the label. A user has documented how to use an external db here: Once you've figured out how to convert this to docker-compose syntax, please post it here so it will be documentation for others. |
@devopsnot - There is a Docker Nominatim project we have started that might be of interest. n7m is a Numeronym for Nominatim. The project supports connecting the Nominatin App to a Postgres database running in a different container. Take a look at the docker-compose.yml at the root. In the app & feed service of the compose file above, you can reference a different database using
Note: expect significantly slower imports if the Postgres container is running on a different host. |
I need to be using an external database for my nomimatim, I need help with what I need to be added to my docker-compose to be connecting to a database;
docker-compose
nominatim:
container_name: nominatim
image: mediagis/nominatim:4.2
restart: always
networks:
nominatim:
aliases:
- nominatim.localhost
environment:
- PBF_PATH=/var/lib/geofabrik/brazil-latest.osm.pbf
- REPLICATION_URL=https://download.geofabrik.de/south-america/brazil-updates/
- NOMINATIM_PASSWORD=nominatim123
volumes:
- /var/lib/geofabrik:/var/lib/geofabrik:ro
- /var/lib/nominatim:/nominatim/flatnode
- /var/lib/pgsql-nominatim:/var/lib/postgresql/14/main
shm_size: 16gb
The text was updated successfully, but these errors were encountered: