add icecast relay
This commit is contained in:
parent
1bb6fdb032
commit
2d0b08975f
4 changed files with 11 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,2 +1,2 @@
|
|||
# Internal
|
||||
.env
|
||||
*.env
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
## Running using Docker from the repo
|
||||
|
||||
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`
|
||||
4. `docker-compose up -d --build --remove-orphans`
|
||||
5. `docker-compose logs --follow --tail 100 --timestamps`
|
||||
|
|
|
@ -6,6 +6,14 @@ services:
|
|||
context: .
|
||||
dockerfile: Dockerfile
|
||||
env_file:
|
||||
- .env
|
||||
- radiobot.env
|
||||
command: python3 -u main.py
|
||||
restart: always
|
||||
relay:
|
||||
image: infiniteproject/icecast
|
||||
env_file:
|
||||
- relay.env
|
||||
ports:
|
||||
- 8000:8000
|
||||
restart: always
|
||||
|
||||
|
|
Loading…
Reference in a new issue