Git Product home page Git Product logo

Comments (5)

nodecentral avatar nodecentral commented on August 26, 2024

Ok, some progress, while I can’t achieve this with the docker_compose.yml, I have has some success with the following Docker run

docker run -dit --rm --name organize \
	  -v "/share/Container/organize/config/":/home/pi/.config/organize/ \
	  -v "/share/Container/organize/logs/":/var/log/organize/ \
	  -v "/share/Container/organize/input/":/Input \
	  -v "/share/Container/organize/output/":/Output \
	  -v "/share/Publications/":/Publications \
	  -v "/share/Movies/":/Movies \
	  docker-organize \
	   "* * * * *"

I tool the “* * * * “ aspect from another docker run I had - so if anyone can explain the difference between the above and the following compose - please let me know..

version: '3'
services: 
  docker-organize:
    image: docker-organize:latest
    container_name: organize
    volumes:
      - /share/Container/organize/output:/Output
      - /share/Container/organize/input:/Input
      - /share/Container/organize/logs:/var/log/organize/
      - /share/Container/organize/config:/home/pi/.config/organize/
      - /share/Publications:/Publications
      - /share/Container:/Containers
      - /share/Movies:/Movies

from organize.

tfeldmann avatar tfeldmann commented on August 26, 2024

Thanks for describing the problem. If I understand it correctly you'd like to keep organize running in the background to watch for any changes in the given locations? Maybe something like #18?
This is one of the next features planned for the upcoming releases.

allowing me to then interact with it via the command line so I can run many different config.yml files I have?

Can you elaborate on that? What would this interactive mode look like?

from organize.

nodecentral avatar nodecentral commented on August 26, 2024

Hi @tfeldmann , thanks so much for responding.

I was not necessarily thinking about watching for something like a folder update, although I can see the benefit there - my uses case is that I have created a number of very focussed config.yml files - that do specific things when I want to run them.

Some times I need to do one thing first to sort stuff out and another to move things around into other folders - yes they can be run in sequence - but the order is not always easy to prescribe or I just want to run one or two on demand.

I don’t recall seeing a UI for Organize, but having it run constantly allows me to explore options like a command line menu of some sort - or I can maybe make calls to run Organize scripts from other systems.

from organize.

tfeldmann avatar tfeldmann commented on August 26, 2024

Ok starting with v3 you can already do this:

organize new name1
organize new name2
organize run name1
organize run name2

Maybe you can define some aliases to make this even shorter? Something like alias orun='organize run'?

from organize.

tfeldmann avatar tfeldmann commented on August 26, 2024

I'll close this issue but will add "Improve CLI documentation" to my todo list.

from organize.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.