docs: docker-compose env variables setup
This commit is contained in:
parent
00ceb9bd46
commit
c290aece92
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue