mirror of https://github.com/vimagick/dockerfiles
update ices
This commit is contained in:
parent
507bda9d68
commit
8bef0d07a5
|
@ -2,8 +2,8 @@
|
||||||
# Dockerfile for ices
|
# Dockerfile for ices
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine:3
|
||||||
MAINTAINER kev <noreply@easypi.pro>
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
RUN apk add --no-cache ices
|
RUN apk add --no-cache ices
|
||||||
COPY data /etc/ices
|
COPY data /etc/ices
|
||||||
|
|
|
@ -19,21 +19,25 @@ docker-compose.yml
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
ices:
|
version: "3.8"
|
||||||
image: easypi/ices-arm
|
|
||||||
volumes:
|
|
||||||
- ./data:/etc/ices
|
|
||||||
devices:
|
|
||||||
- /dev/snd
|
|
||||||
links:
|
|
||||||
- icecast
|
|
||||||
restart: always
|
|
||||||
|
|
||||||
icecast:
|
services:
|
||||||
image: easypi/icecast-arm
|
|
||||||
ports:
|
ices:
|
||||||
- "8000:8000"
|
image: vimagick/ices
|
||||||
restart: always
|
volumes:
|
||||||
|
- ./data:/etc/ices
|
||||||
|
devices:
|
||||||
|
- /dev/snd
|
||||||
|
depends_on:
|
||||||
|
- icecast
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
icecast:
|
||||||
|
image: vimagick/icecast
|
||||||
|
ports:
|
||||||
|
- "8000:8000"
|
||||||
|
restart: unless-stopped
|
||||||
```
|
```
|
||||||
|
|
||||||
ices.xml
|
ices.xml
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
#
|
|
||||||
# Dockerfile for ices-arm
|
|
||||||
#
|
|
||||||
|
|
||||||
FROM easypi/alpine-arm
|
|
||||||
MAINTAINER EasyPi Software Foundation
|
|
||||||
|
|
||||||
RUN apk add --no-cache ices
|
|
||||||
COPY data /etc/ices
|
|
||||||
|
|
||||||
CMD ["ices", "/etc/ices/ices.xml"]
|
|
|
@ -1,2 +0,0 @@
|
||||||
artist=Various Artists
|
|
||||||
title=Untitled Song
|
|
|
@ -1,34 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<ices>
|
|
||||||
<background>0</background>
|
|
||||||
<loglevel>4</loglevel>
|
|
||||||
<consolelog>1</consolelog>
|
|
||||||
<pidfile>/var/run/ices.pid</pidfile>
|
|
||||||
<stream>
|
|
||||||
<metadata>
|
|
||||||
<name>Example stream name</name>
|
|
||||||
<genre>Example genre</genre>
|
|
||||||
<description>A short description of your stream</description>
|
|
||||||
<url>https://easypi.duckdns.org</url>
|
|
||||||
</metadata>
|
|
||||||
<input>
|
|
||||||
<module>alsa</module>
|
|
||||||
<param name="rate">44100</param>
|
|
||||||
<param name="channels">1</param>
|
|
||||||
<param name="device">plughw:1,0</param>
|
|
||||||
<param name="metadata">1</param>
|
|
||||||
<param name="metadatafilename">/etc/ices/ices.txt</param>
|
|
||||||
</input>
|
|
||||||
<instance>
|
|
||||||
<hostname>icecast</hostname>
|
|
||||||
<port>8000</port>
|
|
||||||
<password>hackme</password>
|
|
||||||
<mount>/live.ogg</mount>
|
|
||||||
<encode>
|
|
||||||
<quality>0</quality>
|
|
||||||
<samplerate>44100</samplerate>
|
|
||||||
<channels>1</channels>
|
|
||||||
</encode>
|
|
||||||
</instance>
|
|
||||||
</stream>
|
|
||||||
</ices>
|
|
|
@ -1,15 +0,0 @@
|
||||||
ices:
|
|
||||||
image: easypi/ices-arm
|
|
||||||
volumes:
|
|
||||||
- ./data:/etc/ices
|
|
||||||
devices:
|
|
||||||
- /dev/snd
|
|
||||||
links:
|
|
||||||
- icecast
|
|
||||||
restart: always
|
|
||||||
|
|
||||||
icecast:
|
|
||||||
image: easypi/icecast-arm
|
|
||||||
ports:
|
|
||||||
- "8000:8000"
|
|
||||||
restart: always
|
|
|
@ -1,15 +1,19 @@
|
||||||
ices:
|
version: "3.8"
|
||||||
image: vimagick/ices
|
|
||||||
volumes:
|
|
||||||
- ./data:/etc/ices
|
|
||||||
devices:
|
|
||||||
- /dev/snd
|
|
||||||
links:
|
|
||||||
- icecast
|
|
||||||
restart: always
|
|
||||||
|
|
||||||
icecast:
|
services:
|
||||||
image: vimagick/icecast
|
|
||||||
ports:
|
ices:
|
||||||
- "8000:8000"
|
image: vimagick/ices
|
||||||
restart: always
|
volumes:
|
||||||
|
- ./data:/etc/ices
|
||||||
|
devices:
|
||||||
|
- /dev/snd
|
||||||
|
depends_on:
|
||||||
|
- icecast
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
icecast:
|
||||||
|
image: vimagick/icecast
|
||||||
|
ports:
|
||||||
|
- "8000:8000"
|
||||||
|
restart: unless-stopped
|
||||||
|
|
Loading…
Reference in New Issue