{"id":2069,"date":"2015-06-27T21:34:18","date_gmt":"2015-06-28T03:34:18","guid":{"rendered":"http:\/\/162.243.68.163\/?p=2069"},"modified":"2015-06-27T21:34:18","modified_gmt":"2015-06-28T03:34:18","slug":"ameinias-server-ala-docker","status":"publish","type":"post","link":"https:\/\/tekhedd.com\/?p=2069","title":{"rendered":"Ameinias server ala Docker"},"content":{"rendered":"<p>Ameinias 3.0.4 is now available for docker hosts, with docker images for ices2 and icecast2, making it a complete web-based audio playback &#8220;solution&#8221;. Whee. It&#8217;s now running on my dedicated jukebox machine at the house and that&#8217;s awesome.<\/p>\n<p>All you need is a docker host, three run scripts, and a huge load of audio files to play.<\/p>\n<p>My install is pretty simple. mp3 files are on a network share as \/var\/mp3, and I store the config files in \/var\/ameinias:<\/p>\n<blockquote>\n<pre>mkdir \/var\/ameinias\r\ndocker run -d --restart=always \\\r\n    --name ameinias \\\r\n    -p 80:7076 \\\r\n\u00a0\u00a0\u00a0 -v \/var\/ameinias:\/adata \\\r\n\u00a0\u00a0\u00a0 -v \/var\/mp3:\/mp3 \\\r\n\u00a0\u00a0\u00a0 tekhedd\/ameinias:3.0.4\r\n\r\n# There is no tagged version for the icecast\/ices builds\r\n# because the builds retrieve the 'latest' version of the tools\r\ndocker run -d --restart=always \\\r\n    --name ameinias-icecast2 \\\r\n\u00a0   --volumes-from ameinias \\\r\n\u00a0\u00a0\u00a0 -p 8000:8000 \\\r\n\u00a0\u00a0\u00a0 tekhedd\/ameinias-icecast2:latest\r\n\r\ndocker run -d --restart=always \\\r\n    --name ameinias-ices2 \\\r\n\u00a0\u00a0\u00a0 --link ameinias-icecast2:icecastserver \\\r\n\u00a0\u00a0\u00a0 --volumes-from ameinias \\\r\n\u00a0\u00a0\u00a0 tekhedd\/ameinias-ices2\r\n<\/pre>\n<\/blockquote>\n<p>You change the passwords in \/var\/ameinias\/ices2.xml and icecast.xml, and you&#8217;re good to go. Well, the permissions might be wrong and you might have to look at the stdout to see what&#8217;s up,.. but if you&#8217;re looking for a docker-based player you know what to do.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ameinias 3.0.4 is now available for docker hosts, with docker images for ices2 and icecast2, making it a complete web-based audio playback &#8220;solution&#8221;. Whee. It&#8217;s now running on my dedicated jukebox machine at the house and that&#8217;s awesome. All you need is a docker host, three run scripts, and a huge load of audio files [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[278,1],"tags":[],"class_list":["post-2069","post","type-post","status-publish","format-standard","hentry","category-ameinias","category-other"],"_links":{"self":[{"href":"https:\/\/tekhedd.com\/index.php?rest_route=\/wp\/v2\/posts\/2069","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tekhedd.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tekhedd.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tekhedd.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tekhedd.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2069"}],"version-history":[{"count":2,"href":"https:\/\/tekhedd.com\/index.php?rest_route=\/wp\/v2\/posts\/2069\/revisions"}],"predecessor-version":[{"id":2071,"href":"https:\/\/tekhedd.com\/index.php?rest_route=\/wp\/v2\/posts\/2069\/revisions\/2071"}],"wp:attachment":[{"href":"https:\/\/tekhedd.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2069"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tekhedd.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2069"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tekhedd.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2069"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}