From c290aece92d5385a4106ff5492384b531c5e7be9 Mon Sep 17 00:00:00 2001 From: jo Date: Wed, 15 Mar 2023 12:09:08 +0100 Subject: [PATCH] docs: docker-compose env variables setup --- docs/admin-manual/setup/install.md | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/docs/admin-manual/setup/install.md b/docs/admin-manual/setup/install.md index 5b51c9046..f899997d6 100644 --- a/docs/admin-manual/setup/install.md +++ b/docs/admin-manual/setup/install.md @@ -239,7 +239,33 @@ wget "https://raw.githubusercontent.com/libretime/libretime/$LIBRETIME_VERSION/d ### Setup -Once the files are downloaded, edit the [configuration file](./configuration.md) at `./config.yml` to fill required information and to match your needs. +Once the files are downloaded, generate a set of random passwords for the different docker services used by LibreTime: + +```bash +echo "# Postgres +POSTGRES_PASSWORD=$(openssl rand -hex 16) + +# RabbitMQ +RABBITMQ_DEFAULT_PASS=$(openssl rand -hex 16) + +# Icecast +ICECAST_SOURCE_PASSWORD=$(openssl rand -hex 16) +ICECAST_ADMIN_PASSWORD=$(openssl rand -hex 16) +ICECAST_RELAY_PASSWORD=$(openssl rand -hex 16)" >> .env +cat .env +``` + +:::info + +You can find more details in the `docker-compose.yml` file or on the external services docker specific documentation: + +- [Postgres](https://hub.docker.com/_/postgres) +- [RabbitMQ](https://hub.docker.com/_/rabbitmq) +- [Icecast](https://github.com/libretime/icecast-docker#readme) + +::: + +Next, edit the [configuration file](./configuration.md) at `./config.yml` to set the previously generated passwords, fill required information, and to match your needs. :::info