-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Maildata Volume #173
Comments
@diiigle could you try this one:
Let me know. |
Nope, didn't worked. Still getting only one container 'mail' created. I think we need the volumes_from command for the Data Volume Container. aside question: how important is the hostname in this file? i set it to |
@diiigle you could also do like me and store your emails on your host file system:
Feel free to change the path. I do actually store this folder on a USB key whose file system is encrypted ;) |
@diiigle I have limited access to internet through my mobile phone, so I can't pull the image to test but try:
|
Once this is resolved, I'll publish |
Well I think what @diiigle would like is create a first volume container and then instantiate a docker-mailserver container using the volume from the first container. That's actually a good idea for backup purposes. I guess it would be something like this to create the volume container: And then this to use it: Is it closer to what you'd like @diiigle? |
Then of course you would only have to backup "datastore" container to secure your data. |
@manthis yeah thats right, this would be the expected behaviour, since docker documentation advises you to store your data in data containers. |
@diiigle tell me if the docker-compose templates works.
|
@chris54721 pushed the same fix. |
Merged. |
I do not get any data volume generated by the compose file. So i think the data is stored in the container locally.
Can you fix this, that the /var/mail folder is mapped to a secondary data volume container?
The text was updated successfully, but these errors were encountered: