Skip to content

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

Open
zykinwases wants to merge 1 commit intoOverv:masterfrom
zykinwases:pbf_poly_files_env
Open

Convert .osm.pbf and .poly files to environment variables#288
zykinwases wants to merge 1 commit intoOverv:masterfrom
zykinwases:pbf_poly_files_env

Conversation

@zykinwases
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Collaborator

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

@nielsole
Copy link
Copy Markdown
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