Bind mount #799
Bind mount
#799
Replies: 2 comments
-
|
Bind mounting Hawser's stacks location to e.g.: and then using the fact in your "app" compose file that you "know" what the stack name will be "works" but this makes it less portable. e.g. volumes:
- /opt/stacks/foo/config/:/config-dirSuggestions for a more dynamic solution? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Still tied to Dockhand, but at least the compose bundle is a bit more flexible. Would really like relative paths to be supported for Hawer Edge and Git deploys. volumes:
- ${STACK_LOCATION}/config/:/config-dir |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following setup (simplified) in a Git repository connected to Dockhand:
I deploy this stack to a Hawser agent running in Edge mode.
Is there a clean way to bind mount to this config folder? Relative paths as I understand it, is not supported when using Hawser in Edge mode.
I tried:
No luck as that binds to the host.
Suggestions?
named volume? Or have a dedicated env-var for e.g.
BASE_PATH?Beta Was this translation helpful? Give feedback.
All reactions