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

Defining env var for configurable config file location #473

Merged
merged 1 commit into from
Mar 31, 2022
Merged

Defining env var for configurable config file location #473

merged 1 commit into from
Mar 31, 2022

Conversation

ohemmali
Copy link
Contributor

When deploying blocky in my environment, I had wanted to use a NFS volume to externalize the config file. However this is not possible when the executable is in the same directory the config file is in. Making the config file location a variable allows this.

The edge case arises as NFS can only mount filesystems instead of individual files. If you mount the volume into the /app directory of the container, this overrides the existing content (the blocky executable) causing the container to fail to start.

@codecov
Copy link

codecov bot commented Mar 31, 2022

Codecov Report

Merging #473 (ff4173c) into development (d1289e8) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           development     #473    /-   ##
============================================
  Coverage        94.57%   94.57%           
============================================
  Files               35       35           
  Lines             2763     2763           
============================================
  Hits              2613     2613           
  Misses             115      115           
  Partials            35       35           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d1289e8...ff4173c. Read the comment docs.

@0xERR0R
Copy link
Owner

0xERR0R commented Mar 31, 2022

Thanks, is very useful 👍

@0xERR0R 0xERR0R added the 🔨 enhancement New feature or request label Mar 31, 2022
@0xERR0R 0xERR0R added this to the 0.19 milestone Mar 31, 2022
@0xERR0R 0xERR0R merged commit beb380e into 0xERR0R:development Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants