vault backup: 2026-05-15 07:30:45
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
---
|
||||
category:
|
||||
- "[[Journal]]"
|
||||
type:
|
||||
- "[[Log]]"
|
||||
title: on docker compose, volumes, and bind mounts
|
||||
created: 2026-05-15T07:19:07
|
||||
date: 2026-05-15
|
||||
tags:
|
||||
---
|
||||
[[[[docker|docker]]|docker]] storage is split into two main groups
|
||||
- volumes
|
||||
- bind mounts
|
||||
|
||||
### volumes
|
||||
these are in the `vollumes:` section at the base of the compose file. these are managed by docker. They are for the containers databases, internal caches, or application state--where permission and io are important
|
||||
|
||||
### bind mounts
|
||||
these are specified in the body of the compose file and are for everything else, configs, static(ish) data, etc.
|
||||
Reference in New Issue
Block a user