{"id":2183,"date":"2016-03-03T15:00:00","date_gmt":"2016-03-03T15:00:00","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=2183"},"modified":"2025-06-13T22:57:10","modified_gmt":"2025-06-14T05:57:10","slug":"communicating-with-couchbase-via-a-dockerfile-script-and-docker","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/","title":{"rendered":"Communicating with Couchbase via a Dockerfile Script and Docker"},"content":{"rendered":"<p>I&#8217;ve been working on a project with my team that involves creating a selection of microservices. These microservices populate a<br \/>\nCouchbase Server bucket with data on an interval of our choosing and operate via an AWS EC2 server. The problem is that everyone on<br \/>\nmy team has a preferred programming language. If we were to install every server side language to this server it would probably become<br \/>\nexpensive. Instead we decided to use Docker containers for each microservice. Since we are only running them on an interval, we can<br \/>\nremove the container after every run keeping our core server lightweight and uncluttered with software.<\/p>\n<p>We&#8217;re going to walk through some of the stuff we&#8217;ve been doing to make this solution possible.<\/p>\n<h2>Configuring Docker on an EC2 Instance<\/h2>\n<p>Let&#8217;s assume that our Amazon EC2 host is Ubuntu 14.04 because as of now that is the long term support release of Ubuntu. Log into<br \/>\nthe EC2 host and execute the following as a sudoer:<\/p>\n<pre><code>\r\nsudo apt-get update\r\nsudo apt-get install docker.io\r\n<\/code><\/pre>\n<p>The above will install Docker on the host and not as a virtual machine like you might experience in a Mac or Windows environment.<\/p>\n<p>At this point in time Docker can be used. Our intention is to use a build script, but you can use it manually as well. If you<br \/>\nhaven&#8217;t already installed Couchbase on the EC2 instance you can do that as well. Download the latest Debian file from the<br \/>\n<a href=\"https:\/\/www.couchbase.com\/nosql-databases\/downloads\/\">Couchbase Downloads<\/a> section and execute the following:<\/p>\n<pre><code>\r\ndpkg -i download-file-name.deb\r\n<\/code><\/pre>\n<p>Alternatively you can choose to spin up an Amazon EC2 instance that is already running Couchbase Server. More information on that<br \/>\nsubject can be found <a href=\"https:\/\/www.couchbase.com\/blog\/database-on-amazon-connecting-couchbase-sync-gateway-to-couchbase-ami-on-aws\/\">here<\/a>.<\/p>\n<h2>Designing a Build Script<\/h2>\n<p>The <strong>Dockerfile<\/strong> is our build script for creating Docker images. In it we define what operating system to use, what<br \/>\npackages it will download, and what files it will contain.<\/p>\n<p>I&#8217;m more of a Node.js guy so my microservices on this project are Node.js. Some of the others used Java and Python although this article<br \/>\nisn&#8217;t specific to any language. The build file for one of my microservices looks like the following:<\/p>\n<pre><code>\r\nFROM ubuntu:trusty\r\nMAINTAINER Nic Raboy\r\n\r\nENV DEBIAN_FRONTEND noninteractive\r\nENV DEBCONF_NONINTERACTIVE_SEEN true\r\n\r\nRUN apt-get update\r\nRUN apt-get install -yq libcurl3 curl\r\n\r\nRUN curl -sL https:\/\/deb.nodesource.com\/setup_4.x | bash -\r\n\r\nRUN apt-get update &amp;&amp; apt-get install -yq nodejs\r\n\r\nCOPY package.json app.js config.json mock_data.xml \/\r\nCOPY models \/models\r\nCOPY routes \/routes\r\n\r\nRUN npm install\r\n\r\nCMD [\"node\", \"app.js\"]\r\n<\/code><\/pre>\n<p>To break the above file down, let&#8217;s look at all the pieces.<\/p>\n<p>First we determine that this image will be Ubuntu 14.04 and non-interactive. This will be a base image so before we can start<br \/>\nrunning Node.js projects we need to install the dependencies. We update the operating system repository list and install <strong>curl<\/strong> because<br \/>\nUbuntu doesn&#8217;t ship with it by default and we&#8217;ll need it to install the Node.js repository. Once <strong>curl<\/strong> is installed<br \/>\nwe can add the Node.js 4.x repository and install the software.<\/p>\n<p>This is where things become a little more specific to my project. My project has the following files and directories:<\/p>\n<ul>\n<li>models\/<\/li>\n<li>routes\/<\/li>\n<li>package.json<\/li>\n<li>app.js<\/li>\n<li>config.json<\/li>\n<li>mock_data.xml<\/li>\n<\/ul>\n<p>The <strong>Dockerfile<\/strong> we&#8217;re creating sits within the root of this project structure.<\/p>\n<p>What needs to happen is we need to copy everything into our image. This is done by using the <code>COPY<\/code> commands. Once<br \/>\neverything is copied over we can tell the Node Package Manager (NPM) to install all the dependencies found in the<br \/>\n<strong>package.json<\/strong> file.<\/p>\n<p>The <code>CMD<\/code> line is what will be run when we deploy our built image.<\/p>\n<h2>Building and Running a Container<\/h2>\n<p>As of right now the <strong>Dockerfile<\/strong> should exist in the same directory as your script or application files. Although<br \/>\nunimportant, my application files is a Node.js project that will be automatically run.<\/p>\n<p>Before running our container we must first create it based on the blueprint of our <strong>Dockerfile<\/strong>. Execute the following<br \/>\nvia the Docker Command Line Interface:<\/p>\n<pre><code>\r\ndocker build -t my_project .\r\n<\/code><\/pre>\n<p>The above will go through each step of the script and tag our image with the name <strong>my_project<\/strong>. Once built, at any time<br \/>\nyou can execute the following from the Docker Command Line Tool to run our image:<\/p>\n<pre><code>\r\ndocker run --rm --add-host=\"localhost:10.0.2.2\" my_project\r\n<\/code><\/pre>\n<p>Wait a second though. Why are we doing <code>--add-host=\"localhost:10.0.2.2\"<\/code>? In this particular example we are assuming<br \/>\nCouchbase is running on our local machine with the information <strong>localhost:8091<\/strong>. In the Node.js application, let&#8217;s<br \/>\nassume we try to establish a connection to Couchbase Server via <strong>https:\/\/localhost:8091<\/strong>. By default Docker will be<br \/>\nunder a different subnet making this impossible. Localhost won&#8217;t be what you think it is. This is why we added a host with a<br \/>\nmapping.<\/p>\n<p>Under certain scenarios you may also find yourself doing <code>--net=host<\/code> instead of <code>--add-host=\"localhost:10.0.2.2\"<\/code>.<br \/>\nMore information can be found in<br \/>\nthe <a href=\"https:\/\/docs.docker.com\/engine\/reference\/commandline\/run\/\">official Docker documentation<\/a>.<\/p>\n<p>Because we copied our entire Node.js project and added <code>CMD [\"node\", \"app.js\"]<\/code>, when the image starts, the command will run.<br \/>\nThe <strong>app.js<\/strong> in theory will contain our logic to interface with Couchbase Server via the Couchbase Node.js SDK. The same<br \/>\ncan be done for any programming language and Couchbase SDK. After the command finishes, the container will be removed.<\/p>\n<h2>Conclusion<\/h2>\n<p>You just saw how to get Docker running on an Ubuntu server and run a project in a container via a script. Although this method of<br \/>\ndoing things won&#8217;t be for everyone, it accommodates our need to be able to run a project in any given programming language and<br \/>\nhave it store data in Couchbase Server running at the host level.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been working on a project with my team that involves creating a selection of microservices. These microservices populate a Couchbase Server bucket with data on an interval of our choosing and operate via an AWS EC2 server. The problem [&hellip;]<\/p>\n","protected":false},"author":63,"featured_media":13873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1814,1816],"tags":[10124,1554,1519,2103],"ppma_author":[9032],"class_list":["post-2183","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-application-design","category-couchbase-server","tag-amazon-web-services-aws","tag-container","tag-docker","tag-microservices"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.1 (Yoast SEO v26.1.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Communicating with Couchbase via Dockerfile Script &amp; Docker<\/title>\n<meta name=\"description\" content=\"How to get Docker running on an Ubuntu server and run a project in a container via a script. It can be done in any programming language and Couchbase SDK.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Communicating with Couchbase via a Dockerfile Script and Docker\" \/>\n<meta property=\"og:description\" content=\"How to get Docker running on an Ubuntu server and run a project in a container via a script. It can be done in any programming language and Couchbase SDK.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/thepolyglotdeveloper\" \/>\n<meta property=\"article:published_time\" content=\"2016-03-03T15:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-14T05:57:10+00:00\" \/>\n<meta name=\"author\" content=\"Nic Raboy, Developer Advocate, Couchbase\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@nraboy\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nic Raboy, Developer Advocate, Couchbase\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/\"},\"author\":{\"name\":\"Nic Raboy, Developer Advocate, Couchbase\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/bb545ebe83bb2d12f91095811d0a72e1\"},\"headline\":\"Communicating with Couchbase via a Dockerfile Script and Docker\",\"datePublished\":\"2016-03-03T15:00:00+00:00\",\"dateModified\":\"2025-06-14T05:57:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/\"},\"wordCount\":874,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"keywords\":[\"Amazon Web Services (AWS)\",\"container\",\"docker\",\"microservices\"],\"articleSection\":[\"Application Design\",\"Couchbase Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/\",\"name\":\"Communicating with Couchbase via Dockerfile Script & Docker\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"datePublished\":\"2016-03-03T15:00:00+00:00\",\"dateModified\":\"2025-06-14T05:57:10+00:00\",\"description\":\"How to get Docker running on an Ubuntu server and run a project in a container via a script. It can be done in any programming language and Couchbase SDK.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"width\":1800,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Communicating with Couchbase via a Dockerfile Script and Docker\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/bb545ebe83bb2d12f91095811d0a72e1\",\"name\":\"Nic Raboy, Developer Advocate, Couchbase\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/8863514d8bed0cf6080f23db40e00354\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g\",\"caption\":\"Nic Raboy, Developer Advocate, Couchbase\"},\"description\":\"Nic Raboy is an advocate of modern web and mobile development technologies. He has experience in Java, JavaScript, Golang and a variety of frameworks such as Angular, NativeScript, and Apache Cordova. Nic writes about his development experiences related to making web and mobile development easier to understand.\",\"sameAs\":[\"https:\/\/www.thepolyglotdeveloper.com\",\"https:\/\/www.facebook.com\/thepolyglotdeveloper\",\"https:\/\/x.com\/nraboy\"],\"url\":\"https:\/\/www.couchbase.com\/blog\/author\/nic-raboy-2\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Communicating with Couchbase via Dockerfile Script & Docker","description":"How to get Docker running on an Ubuntu server and run a project in a container via a script. It can be done in any programming language and Couchbase SDK.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/","og_locale":"en_US","og_type":"article","og_title":"Communicating with Couchbase via a Dockerfile Script and Docker","og_description":"How to get Docker running on an Ubuntu server and run a project in a container via a script. It can be done in any programming language and Couchbase SDK.","og_url":"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/","og_site_name":"The Couchbase Blog","article_author":"https:\/\/www.facebook.com\/thepolyglotdeveloper","article_published_time":"2016-03-03T15:00:00+00:00","article_modified_time":"2025-06-14T05:57:10+00:00","author":"Nic Raboy, Developer Advocate, Couchbase","twitter_card":"summary_large_image","twitter_creator":"@nraboy","twitter_misc":{"Written by":"Nic Raboy, Developer Advocate, Couchbase","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/"},"author":{"name":"Nic Raboy, Developer Advocate, Couchbase","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/bb545ebe83bb2d12f91095811d0a72e1"},"headline":"Communicating with Couchbase via a Dockerfile Script and Docker","datePublished":"2016-03-03T15:00:00+00:00","dateModified":"2025-06-14T05:57:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/"},"wordCount":874,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","keywords":["Amazon Web Services (AWS)","container","docker","microservices"],"articleSection":["Application Design","Couchbase Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/","url":"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/","name":"Communicating with Couchbase via Dockerfile Script & Docker","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","datePublished":"2016-03-03T15:00:00+00:00","dateModified":"2025-06-14T05:57:10+00:00","description":"How to get Docker running on an Ubuntu server and run a project in a container via a script. It can be done in any programming language and Couchbase SDK.","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","width":1800,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/communicating-with-couchbase-via-a-dockerfile-script-and-docker\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Communicating with Couchbase via a Dockerfile Script and Docker"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"The Couchbase Blog","description":"Couchbase, the NoSQL Database","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"The Couchbase Blog","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/bb545ebe83bb2d12f91095811d0a72e1","name":"Nic Raboy, Developer Advocate, Couchbase","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/8863514d8bed0cf6080f23db40e00354","url":"https:\/\/secure.gravatar.com\/avatar\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g","caption":"Nic Raboy, Developer Advocate, Couchbase"},"description":"Nic Raboy is an advocate of modern web and mobile development technologies. He has experience in Java, JavaScript, Golang and a variety of frameworks such as Angular, NativeScript, and Apache Cordova. Nic writes about his development experiences related to making web and mobile development easier to understand.","sameAs":["https:\/\/www.thepolyglotdeveloper.com","https:\/\/www.facebook.com\/thepolyglotdeveloper","https:\/\/x.com\/nraboy"],"url":"https:\/\/www.couchbase.com\/blog\/author\/nic-raboy-2\/"}]}},"authors":[{"term_id":9032,"user_id":63,"is_guest":0,"slug":"nic-raboy-2","display_name":"Nic Raboy, Developer Advocate, Couchbase","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g","author_category":"","last_name":"Raboy","first_name":"Nic","job_title":"","user_url":"https:\/\/www.thepolyglotdeveloper.com","description":"Nic Raboy is an advocate of modern web and mobile development technologies. He has experience in Java, JavaScript, Golang and a variety of frameworks such as Angular, NativeScript, and Apache Cordova. Nic writes about his development experiences related to making web and mobile development easier to understand."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/2183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/comments?post=2183"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/2183\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media\/13873"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media?parent=2183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/categories?post=2183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/tags?post=2183"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=2183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}