Replies: 2 comments 2 replies
-
@charnould - Got this working but it could be improved. On your host (replace path based on your requirements): $ mkdir /root/data && chmod 777 /root/data Then in your volumes:
- "/root/data:/rails/storage/db" Note: Looks like this will only work with absolute host paths: kamal/lib/kamal/configuration/volume.rb Lines 15 to 21 in 83a2d52 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, it works! But I'm curious why this setting isn't present in the default generated $ sudo mkdir /data && sudo chmod 777 /data volumes:
- "/data/storage:/rails/storage" |
Beta Was this translation helpful? Give feedback.
2 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.
-
Currently, if your
mrsk.yaml
contains...... it creates a
volume
:code-available at
app/database
,but located at
/var/lib/docker/volumes/database/_data
(defaultDocker
location forvolume
).Using Hetzner, I'd like to use their OWN Volume , kind of mini-S3.
After having configured one, this Hetzner Volume is available at
/mnt/...
Is it possible with
mrsk
to configure the mount point?In Docker-word it should be (?) a
bind
-mount (?)Thanks.
Beta Was this translation helpful? Give feedback.
All reactions