Be Your Own Cloud code · PART 2 — FOUNDATION

Chapter 7 Storage Layout: Volumes, Bind Mounts, and Where Your Data Actually Lives

1 block · p. 34 in the paperback

The Folder Structure, Extended

# p. 34

Reference Folder layout — for reference, not to paste
/opt/stacks/
  vaultwarden/
    docker-compose.yml
    data/     <- bind mount, Vaultwarden's actual vault
  nextcloud/
    docker-compose.yml
    data/     <- bind mount, files and config

/mnt/media/   <- bulk storage, separate from /opt/stacks entirely
  movies/
  photos/     <- Immich's library, Chapter 13

Reproduced exactly from Be Your Own Cloud, Chapter 7. The book explains what each line does and what to do when it doesn't work. About the book

Something here not working as the book describes? Tell the author.