Implement configuration directory customization. #74
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "add-config-dir-selection-"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This adds the ability to select a configuration directory for all the things. These changes allow people who need to use their home directory for configuration and logs to do so, (in case their home folder has more storage than their root directory).
added 1 commit
e53c7082
- fix typoCompare with previous version
added 1 commit
6f0eaf6b
- add configuration info to readme.orgCompare with previous version
added 1 commit
aebe2e2f
- fix line stuff from readme.orgCompare with previous version
I THINK I just need to edit the docs before this can be merged. Don't know for sure though.
added 1 commit
e913c252
- update docs.org with updated source.Compare with previous version
added 1 commit
b3c7a7c0
- fix missing changesCompare with previous version
Done with most of the stuff that I think my changes affect. Please let me know what else is needed if anything
changed the description
changed title from {-add C-}onfiguration dir to {+Implement c+}onfiguration dir{+ectory customization.+}
Hey!
I don't understand the purpose of this change. 🤔
First of all, you can already install YAMS in your home directory. It's the first question the installer asks.
Second, this change will make debugging much more difficult since all the directories will be spread across multiple locations.
Third, this change will affect the backup command and harm the portability of YAMS.
I'm having a hard time letting this one through, but please let me know if I'm missing something with this change. 👍
Another thing I forgot to mention: your
INSTALL_DIRECTORY
shouldn't get too big. Mine is 16GB, with 12GB of that being Emby cache, something I could clean up but haven't because I'm lazy.I've been running YAMS for over three years and currently have 21TB of TV shows and 6TB of movies.
added 1 commit
d9409542
- fix .env.example to implement CONFIG_DIRECTORY for the install scriptCompare with previous version
I like keeping things separated. I wanted to put config into .config in the root of the home folder, it's just the way I do stuff. Plus Jellyfin generates a lot of logs and their cache is pretty big. My 70gb root (which does have a bunch of other things in it, not really Yam's fault) was filled up way too quickly. I don't mind keeping my install folder on the root, but moving the config folder to a specific place is just another customization vector for others.
Ok, now I understand where you're coming from. YAMS is just a script that sets up a
docker-compose
file, so I’d recommend using it as is and installing it in your/home
partition.That said, feel free to modify YAMS to suit your needs and distribute your changes independently! Your code looks solid, so YAMS should work just fine. I just don’t think this change is ideal for people who are new to self-hosting, which is YAMS’ main target audience.
Either way, even though it won’t be merged for now, thanks for the MR!
Pull request closed