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

Convert .osm.pbf and .poly files to environment variables #288

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zykinwases
Copy link

Replace .pbf and .poly filepaths with environment variables for wider usage.

@galewis2 galewis2 changed the title .osm.pbf and .poly files env done Convert .osm.pbf and .poly files to environment variables Jun 15, 2022
@galewis2
Copy link
Collaborator

I'm not sure, why is this needed if the name of the file is specified as the source for volume mounts?

@zykinwases
Copy link
Author

if you are using persistent volumes it is impossible to specify a single file, so you must use nested folder.
if you use /data as mount path for volume all other nested folders (for example /data/style) are removed and run.sh fails

@galewis2
Copy link
Collaborator

@zykinwases Can you show an MVP of what you mean?

@nielsole
Copy link
Collaborator

I guess zykinwases refers to using a persistent volume in Kubernetes. I guess an equivalent to the file-based docker -v should be solvable with subPath in the volumeMount.

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

Successfully merging this pull request may close these issues.

3 participants