Skip to content
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

Consistent mount points #257

Closed
Istador opened this issue Apr 2, 2022 · 0 comments
Closed

Consistent mount points #257

Istador opened this issue Apr 2, 2022 · 0 comments

Comments

@Istador
Copy link
Contributor

Istador commented Apr 2, 2022

The image should offer consistent mount points to be used by the users (especially the postgres mount point shouldn't change on upgrades).

  • /data/database/ instead of /var/lib/postgresql/14/main/
  • /data/tiles/ instead of /var/lib/mod_tile/
  • /data/style/ instead of /home/renderer/src/openstreetmap-carto/
  • /data/data.osm.pbf and /data/data.poly
  • /data/flat_nodes.bin instead of /nodes/flat_nodes.bin (or even put them into /data/database/flat_nodes.bin, because it should never be separated from the database)

To do that the Dockerfile must create these directories and replace the current directories with symlinks (or change the configuration of the software using them).

This is a breaking change that requires a major version bump.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants