add icecast relay

This commit is contained in:
deflax 2022-03-28 17:09:47 -04:00
parent 1bb6fdb032
commit 2d0b08975f
4 changed files with 11 additions and 3 deletions

2
.gitignore vendored
View file

@ -1,2 +1,2 @@
# Internal # Internal
.env *.env

View file

@ -10,7 +10,7 @@
## Running using Docker from the repo ## Running using Docker from the repo
1. `sudo apt install docker-compose` 1. `sudo apt install docker-compose`
2. `cp .env.dist .env` 2. `cp radiobot.env.dist radiobot.env ; cp relay.env.dist relay.env`
3. `vim .env` 3. `vim .env`
4. `docker-compose up -d --build --remove-orphans` 4. `docker-compose up -d --build --remove-orphans`
5. `docker-compose logs --follow --tail 100 --timestamps` 5. `docker-compose logs --follow --tail 100 --timestamps`

View file

@ -6,6 +6,14 @@ services:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
env_file: env_file:
- .env - radiobot.env
command: python3 -u main.py command: python3 -u main.py
restart: always restart: always
relay:
image: infiniteproject/icecast
env_file:
- relay.env
ports:
- 8000:8000
restart: always