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

3 libretime instances #19

Closed
WeigandM opened this issue Dec 1, 2018 · 1 comment
Closed

3 libretime instances #19

WeigandM opened this issue Dec 1, 2018 · 1 comment
Assignees
Labels
configuration-support Configuration/Support Related help wanted Extra attention is needed

Comments

@WeigandM
Copy link

WeigandM commented Dec 1, 2018

I have a question, how can I run 3 or more libretime instances on a dedicated without them getting in the way? I have several IP addresses that could be used (if necessary).

@ned-kelly
Copy link
Owner

ned-kelly commented Dec 3, 2018

If you're happy to share the database (which I would) and just use a different database name then you will need to:

  • Run multiple Libretime containers - each will need a different WEB_UI_PORT, MASTER_SOURCE_PORT, and DJ_SOURCE_PORT port that's not conflicting
  • Run multiple Icecast containers on different ports - each corresponding Libretime host will then need to obvoiusly be configured to use it's matching Icecast container
  • Run multiple RabbitMQ containers (this will be the easiest option) and configure each libretime to talk to it's own RMQ container.

The container actually tries to "initialise" the database & RMQ if it's empty when it first starts, so you will need to make some changes in the bootstrap/firstrun.sh file...

The easiest thing will be to modify the bootstrap/entrypoint.sh file to actually exclude the first-run line (comment it out) so that way you're presented with the Libretime configuration screen when you start the container for the first time.

Once you've done this edit your docker-compose.yml file to build the image, rather than pull the pre-built image we've got published from Docker Hub

Should be pretty easy to setup once you've done some testing post back with how you went!

@ned-kelly ned-kelly added help wanted Extra attention is needed configuration-support Configuration/Support Related labels Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration-support Configuration/Support Related help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants