ned-kelly / docker-multicontainer-libretime

A multi-container deployment of the Libretime Radio Broadcast Server, PostgreSQL, Icecast2 & RabbitMQ, all based on Ubuntu Xenial & Alpine Linux!
56 stars 22 forks source link

3 libretime instances #19

Closed WeigandM closed 5 years ago

WeigandM commented 5 years ago

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 commented 5 years ago

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

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!