Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple banks in same run #44

Open
alekslyse opened this issue Feb 21, 2023 · 2 comments
Open

Multiple banks in same run #44

alekslyse opened this issue Feb 21, 2023 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@alekslyse
Copy link

Is it possible to add multiple banks to the same instance (f.eks in docker), or do I need to run one docker instance pr bank?

@hpernu
Copy link
Collaborator

hpernu commented Feb 22, 2023

Do you mean like polling multiple banks with a single instance?

As it is, since you have to pass the bank datafile in environment, that is per container run. Thus you cannot do this in the same instance. But then again, docker is by definition an advanced application wrapper only. I am not sure it would make sense to support multiple banks in the same instance but of course this could be done via command line parameters(instead of environment), for example.

Personally, I primarily use onetime runs (Interval=0) periodically several times per day, and even run multiple banks simultaneously. Recommend using --rm flag on the docker run command line though. That way, you won't be left with dangling unnecessary containers on disk.

@martinohansen
Copy link
Owner

Is it possible to add multiple banks to the same instance (f.eks in docker), or do I need to run one docker instance pr bank?

It's not, unfortunately. You would have to run multiple instances with different configurations.

It's a good feature request though.

@martinohansen martinohansen added enhancement New feature or request help wanted Extra attention is needed labels Feb 24, 2023
@martinohansen martinohansen changed the title Multiple Banks Multiple Banks in same run Feb 27, 2023
@martinohansen martinohansen changed the title Multiple Banks in same run Multiple banks in same run Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants