Skip to content
Snippets Groups Projects
Commit ce52a579 authored by Eduardo Trujillo's avatar Eduardo Trujillo
Browse files

Add initial version

parent 4810db3e
No related branches found
No related tags found
Loading
Checking pipeline status
FROM debian
RUN useradd -ms /bin/bash icecast2
RUN apt update -y && apt install -y icecast2 darkice
RUN usermod -G icecast -a icecast2
[general]
duration = 0
bufferSecs = 1
reconnect = yes
realtime = yes
rtprio = 3
[input]
device = pulseaudio
sampleRate = 44100
bitsPerSample = 16
channel = 2
paSourceName = alsa_input.pci-0000_00_1f.3.analog-stereo
[icecast2-0]
bitrateMode = vbr
format = mp3
quality = 0.8
server = localhost
port = 8000
password = <pwd>
mountPoint = sonos
name = sonos
version: "3.9"
services:
icecast2:
build: .
command: icecast2 -c /etc/icecast2/icecast.xml
user: icecast2
darkice:
build: .
depends_on:
- icecast2
command: darkice
user: icecast2
volumes:
- ./darkice.cfg:/etc/darkice.cfg:z
- /run/user/1000/pulse:/run/user/1000/pulse
<limits>
<burst-on-connect>0</burst-on-connect>
<burst-size>0</burst-size>
</limits>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment