Score:0

Linux partition sizes for a locally-deployed (via docker) django web application with postgresql database

cn flag

I plan to deploy in an ubuntu server, via docker, a django web application with postgresql database in a local machine within a local network. I believe that docker volumes live in the /var/lib/docker/volumes directory of the host computer. My question is: I suppose this means that when I prepare the host machine, I will have to allot a large portion to the root directory? Are there ideal sizes (e.g. in terms of percentage of disk space) for the partitions of the host machine?

This may sound trivial, but I would like to get confirmation before I start working on the deployment. Thanks so much.

Michael Hampton avatar
cz flag
If space or storage locality is an issue, why not make /var/lib/docker a partition/mount point? If it's a single machine with local storage, there probably isn't any point though. Just put in enough storage.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.