You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.3KB

4 years ago
4 years ago
4 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # yarrbox
  2. Configuration tool for docker-compose for my magic machine of goodies.
  3. You need Python 3 installed, but you don't need any extra libraries. This also
  4. assumes that you're using a recent version of Docker and Docker-Compose.
  5. This might work on macOS Docker, probably not Windows, but you can try I guess.
  6. I'm not sure why you would want to run this on anything other than a big ol'
  7. Linux server though.
  8. **INCOMPLETE: Doesn't do everything I want and is currently kinda useless.**
  9. ## Initial Setup
  10. First, generate your personal configuration.
  11. ```sh
  12. ./yarrbox.py init
  13. ```
  14. Next, generate the `docker-compose.yml` file.
  15. ```sh
  16. ./yarrbox.py generate
  17. ```
  18. Then, you can launch everything, make sure to detach from them so you're not
  19. spammed with the output of all these programs.
  20. (This doesn't work yet, not everything is in place.)
  21. ```sh
  22. sudo docker-compose up -d
  23. ```
  24. ## Extras
  25. You can edit the config with `./yarrbox.py edit`, you'll need to regenerate the
  26. config after. And then all rules of thumb for editing Compose configs applies
  27. after that. You might want to `down` the containers *just in case*.
  28. ## Future work
  29. I'm more than welcome to accept patches to support Kodi. I'm planning on
  30. migrating to that in the future. The config tool isn't as advanced to support
  31. different/multiple distribution frontends so you'll have to do that yourself.