{"id":416,"date":"2015-07-26T18:16:44","date_gmt":"2015-07-26T22:16:44","guid":{"rendered":"http:\/\/devopsny.com\/blog\/?p=416"},"modified":"2015-07-26T18:18:35","modified_gmt":"2015-07-26T22:18:35","slug":"creating-an-htpc-stack-with-docker-things-part-2","status":"publish","type":"post","link":"https:\/\/devopsny.com\/blog\/2015\/07\/26\/creating-an-htpc-stack-with-docker-things-part-2\/","title":{"rendered":"Creating an HTPC Stack With Docker Things, Part 2"},"content":{"rendered":"<p>This is a continuation of my previous post:\u00a0<a href=\"http:\/\/devopsny.com\/blog\/2015\/03\/07\/creating-an-htpc-stack-with-docker-things\/\" target=\"_blank\">Create an HTPC Stack With Docker Things<\/a>. I will introduce docker-compose to bring up an environment with both containers used previously, sabnzbd and sickbeard.<\/p>\n<p>I installed docker-compose using the instructions found here:\u00a0<a href=\"https:\/\/docs.docker.com\/compose\/install\/\" target=\"_blank\">Install Compose<\/a>. I am using Mac OS X.<\/p>\n<p>First make sure boot2docker is running, <em>boot2docker up<\/em>. Then create the following file named docker-compose.yml.<\/p>\n<pre>sickbeard:\r\n  image: maxexcloo\/sickbeard \r\n  ports:\r\n   - \"8081:8081\"\r\n  name:\r\n   - \"sickbeard\"\r\nsabnzbd:\r\n  image: maxexcloo\/sabnzbd\r\n  ports:\r\n   - \"8080:8080\"\r\n  name:\r\n   - \"sabnzbd\"\r\n<\/pre>\n<p>This is setting up the environment with two images, exposing the ports the application will run on and naming the image to something meaningful. each directive in the yml file map to the same <em>docker run<\/em> command.<\/p>\n<p>Once this file has been created, simply run <em>docker-compose up<\/em>, and the images will be started.<\/p>\n<h2>To-Do<\/h2>\n<ul>\n<li>create a github repo for application configs.<\/li>\n<li>map a local directory for configs.<\/li>\n<li>add the local config directory to the yml.<\/li>\n<li>more things&#8230;<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This is a continuation of my previous post:\u00a0Create an HTPC Stack With Docker Things. I will introduce docker-compose to bring up an environment with both containers used previously, sabnzbd and sickbeard. I installed docker-compose using the instructions found here:\u00a0Install Compose. I am using Mac OS X. First make sure boot2docker is running, boot2docker up. Then [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[64,210],"tags":[212,200,211,203,205,204],"class_list":["post-416","post","type-post","status-publish","format-standard","hentry","category-devops","category-docker","tag-boot2docker","tag-docker","tag-docker-compose","tag-htpc","tag-sabnzbd","tag-sickbeard"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3fcrv-6I","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/posts\/416","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/comments?post=416"}],"version-history":[{"count":1,"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/posts\/416\/revisions"}],"predecessor-version":[{"id":417,"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/posts\/416\/revisions\/417"}],"wp:attachment":[{"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/media?parent=416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/categories?post=416"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/tags?post=416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}