Skip to content

Commit 39f30e4

Browse files
committed
feat(bind-mounts): consolidates bind mounts
Consolidates service-specific data volumes into a single `/data` volume, simplifying configuration and improving maintainability. Updates the user creation process to migrate existing data to the consolidated data volume and create symlinks. This change ensures that existing data is not lost and is accessible in the new configuration. Also introduces a cleanup process for broken symlinks within data directories during migration
1 parent dfe3c41 commit 39f30e4

7 files changed

Lines changed: 114 additions & 940 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,11 @@
2929
"mounts": [
3030
"source=${localWorkspaceFolder},target=/workspace,type=bind",
3131
"source=${localWorkspaceFolder}/main.py,target=/main.py,type=bind",
32-
"source=${localWorkspaceFolder}/config,target=/config,type=bind",
3332
"source=${localWorkspaceFolder}/utils,target=/utils,type=bind",
34-
"source=${localWorkspaceFolder}/zurg/RD,target=/zurg/RD,type=bind",
35-
"source=${localWorkspaceFolder}/riven/backend/data,target=/riven/backend/data,type=bind",
36-
"source=${localWorkspaceFolder}/zilean/app/data,target=/zilean/app/data,type=bind",
33+
"source=${localWorkspaceFolder}/data,target=/data,type=bind",
3734
"source=${localWorkspaceFolder}/log,target=/log,type=bind",
38-
"source=${localWorkspaceFolder}/mnt/debrid,target=/mnt/debrid,type=bind,bind-propagation=rshared",
39-
"source=${localWorkspaceFolder}/postgres_data,target=/postgres_data,type=bind",
40-
"source=${localWorkspaceFolder}/pgadmin/data,target=/pgadmin/data,type=bind",
41-
"source=${localWorkspaceFolder}/plex_debrid/config,target=/plex_debrid/config,type=bind",
42-
"source=${localWorkspaceFolder}/cli_debrid/data,target=/cli_debrid/data,type=bind",
43-
"source=${localWorkspaceFolder}/decypharr,target=/decypharr,type=bind",
44-
"source=${localWorkspaceFolder}/plex,target=/plex,type=bind",
45-
"source=${localWorkspaceFolder}/phalanx_db/data,target=/phalanx_db/data,type=bind"
35+
"source=${localWorkspaceFolder}/config,target=/config,type=bind",
36+
"source=${localWorkspaceFolder}/mnt/debrid,target=/mnt/debrid,type=bind,bind-propagation=rshared"
4637
],
4738
"runArgs": [
4839
"--name=dumb_dev",

0 commit comments

Comments
 (0)