{"id":1700,"date":"2018-04-13T10:46:32","date_gmt":"2018-04-13T14:46:32","guid":{"rendered":"http:\/\/mossiso.com\/?p=1700"},"modified":"2018-04-13T10:46:32","modified_gmt":"2018-04-13T14:46:32","slug":"wikijs-port-bindings","status":"publish","type":"post","link":"https:\/\/mossiso.com\/2018\/04\/13\/wikijs-port-bindings\/","title":{"rendered":"Wikijs port bindings"},"content":{"rendered":"<p>It took me too long to figure this out, and the documentation wasn&#8217;t as clear as it should be. This is how the port bindings map out when using docker-compose with wikijs:<\/p>\n<p>config.yml -&gt; host = docker-compose.yml -&gt; left side of : in the ports section of the wikijs image<\/p>\n<p>config.yml -&gt; ports = docker-compose.yml -&gt; right side of : in the ports section of the wikijs image<\/p>\n<p>Here&#8217;s an image to make it more clear.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1701 size-full\" src=\"http:\/\/mossiso.com\/wp-content\/uploads\/2018\/04\/Wikijs-port-bindings.png\" alt=\"\" width=\"960\" height=\"720\" srcset=\"https:\/\/mossiso.com\/wp-content\/uploads\/2018\/04\/Wikijs-port-bindings.png 960w, https:\/\/mossiso.com\/wp-content\/uploads\/2018\/04\/Wikijs-port-bindings-300x225.png 300w, https:\/\/mossiso.com\/wp-content\/uploads\/2018\/04\/Wikijs-port-bindings-768x576.png 768w, https:\/\/mossiso.com\/wp-content\/uploads\/2018\/04\/Wikijs-port-bindings-150x113.png 150w, https:\/\/mossiso.com\/wp-content\/uploads\/2018\/04\/Wikijs-port-bindings-624x468.png 624w\" sizes=\"(max-width: 960px) 100vw, 960px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It took me too long to figure this out, and the documentation wasn&#8217;t as clear as it should be. This is how the port bindings map out when using docker-compose with wikijs: config.yml -&gt; host = docker-compose.yml -&gt; left side of : in the ports section of the wikijs image config.yml -&gt; ports = docker-compose.yml &hellip; <a href=\"https:\/\/mossiso.com\/2018\/04\/13\/wikijs-port-bindings\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Wikijs port bindings<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"aside","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[167],"tags":[295,294],"class_list":["post-1700","post","type-post","status-publish","format-aside","hentry","category-technical","tag-docker-compose","tag-wikijs","post_format-post-format-aside"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9wosP-rq","_links":{"self":[{"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/posts\/1700"}],"collection":[{"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/comments?post=1700"}],"version-history":[{"count":1,"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/posts\/1700\/revisions"}],"predecessor-version":[{"id":1702,"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/posts\/1700\/revisions\/1702"}],"wp:attachment":[{"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/media?parent=1700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/categories?post=1700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/tags?post=1700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}