You've already forked dockerfiles
							
							
				mirror of
				https://github.com/vimagick/dockerfiles.git
				synced 2025-10-30 23:47:48 +02:00 
			
		
		
		
	update ices
This commit is contained in:
		| @@ -2,8 +2,8 @@ | ||||
| # Dockerfile for ices | ||||
| # | ||||
|  | ||||
| FROM alpine | ||||
| MAINTAINER kev <noreply@easypi.pro> | ||||
| FROM alpine:3 | ||||
| MAINTAINER EasyPi Software Foundation | ||||
|  | ||||
| RUN apk add --no-cache ices | ||||
| COPY data /etc/ices | ||||
|   | ||||
| @@ -19,21 +19,25 @@ docker-compose.yml | ||||
| ------------------ | ||||
|  | ||||
| ```yaml | ||||
| ices: | ||||
|   image: easypi/ices-arm | ||||
|   volumes: | ||||
|     - ./data:/etc/ices | ||||
|   devices: | ||||
|     - /dev/snd | ||||
|   links: | ||||
|     - icecast | ||||
|   restart: always | ||||
| version: "3.8" | ||||
|  | ||||
| icecast: | ||||
|   image: easypi/icecast-arm | ||||
|   ports: | ||||
|     - "8000:8000" | ||||
|   restart: always | ||||
| services: | ||||
|  | ||||
|   ices: | ||||
|     image: vimagick/ices | ||||
|     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 | ||||
|   | ||||
| @@ -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: | ||||
|   image: vimagick/ices | ||||
|   volumes: | ||||
|     - ./data:/etc/ices | ||||
|   devices: | ||||
|     - /dev/snd | ||||
|   links: | ||||
|     - icecast | ||||
|   restart: always | ||||
| version: "3.8" | ||||
|  | ||||
| icecast: | ||||
|   image: vimagick/icecast | ||||
|   ports: | ||||
|     - "8000:8000" | ||||
|   restart: always | ||||
| services: | ||||
|  | ||||
|   ices: | ||||
|     image: vimagick/ices | ||||
|     volumes: | ||||
|       - ./data:/etc/ices | ||||
|     devices: | ||||
|       - /dev/snd | ||||
|     depends_on: | ||||
|       - icecast | ||||
|     restart: unless-stopped | ||||
|    | ||||
|   icecast: | ||||
|     image: vimagick/icecast | ||||
|     ports: | ||||
|       - "8000:8000" | ||||
|     restart: unless-stopped | ||||
|   | ||||
		Reference in New Issue
	
	Block a user