update .env.dist

This commit is contained in:
deflax 2022-03-23 19:43:24 -04:00
parent e767fb564b
commit b847cf05b6
2 changed files with 11 additions and 12 deletions

View file

@ -1,6 +1,6 @@
token = "radio_bot_token" token=OT..
channel = "channel_id" channel=0
name = "Example Radio" name=radiobot
url = "http://example.net" url=http://example.net
passes=2 passes=2
bitrate=44100 bitrate=44100

View file

@ -7,9 +7,8 @@
## Running using Docker from the repo ## Running using Docker from the repo
2. Install dependancies `sudo apt install docker-compose` 1. `sudo apt install docker-compose`
3. Create a folder called `config` or similiar to keep your configuration in 2. `cp .env.dist .env`
4. Make a copy of `config.example.ini` called `config.ini` and place it in your `config` folder 3. `vim .env`
5. Edit the config file 4. `docker-compose up -d --build --remove-orphans`
6. Build and execute using docker-compose: `docker-compose up -d --build --remove-orphans` 5. `docker-compose logs --follow --tail 100`
7. Monitor execution with `docker-compose logs --follow --tail 100`