Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Continuous deployment with Couchbase Mobile, Do...
Search
James Nocentini
August 19, 2015
Technology
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Continuous deployment with Couchbase Mobile, Docker and Tutum
James Nocentini
August 19, 2015
More Decks by James Nocentini
See All by James Nocentini
Distributed data synchronization in 5 lines of code
jamiltz
0
89
Couchbase Mobile on Android
jamiltz
0
77
Couchbase Mobile
jamiltz
0
81
Other Decks in Technology
See All in Technology
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
290
Tofu-Controller lightning talk @ Containerday 2026
gionn
0
120
夫婦で子育てするための育児標準化
codmoninc
PRO
0
420
AI駆動で「他アプリの音を加工できる」アプリを作った
satomasahiro2005
0
170
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
270
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
460
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
4
1.2k
Running Kotlin + Quarkus with Lambda
nealle
1
3.9k
Temporal 最高!でも改めて「日付」について調べたら人類の負債すぎる件
riyaamemiya
0
170
Webの常識が通じないHTMLメールのダークモード
teamlab
PRO
0
130
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
930
今さら理解するウェブフォントver.2026
takanorip
3
890
Featured
See All Featured
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
870
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
280
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
Navigating Weather and Climate Data
rabernat
0
560
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
580
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
Building an army of robots
kneath
307
47k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
600
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
360
From π to Pie charts
rasagy
1
400
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
360
Transcript
Continuous deployment with Couchbase Mobile, Docker and Tutum Couchbase London
19/08/2015
Should you deploy often on the App Store and Google
Play?
Articles online suggest we should Iterate faster on Google Play
with improved beta testing Iterate and Release Often
Why Docker? • VMs take too long to spin up
• Test with the same environment as production • You get this box that has all the dependencies locked into it
It’s all about DevOps
None
Getting started
Development GitHub Docker Hub Tutum
Development
Architecture requirements • Couchbase Server container to expose 8091 •
Sync Gateway container to expose 4984 & 4985 • App Server to expose 8000 (optional)
docker-compose • Run your stack with one command: docker- compose
up • Describe your stack with one file: docker- compose.yml
docker-compose.yml Dockerfile (Couchbase Server) Dockerfile (Sync Gateway) Dockerfile (App Server)
Container linking Container A Container B Networking stack A Networking
stack B
Container linking App Server Sync Gateway Networking stack A Networking
stack B
Admin REST API (port 4985) is only accessible on localhost
(127.0.0.1)
One container! Sync Gateway + App Server
None
None
Use Case
One container! cityexplorer
docker-compose.yml Docker Image (Couchbase Server) Dockerfile (cityexplorer)
Application bootstrap • Start Couchbase Server (create user and bucket)
• Start Sync Gateway • Start App Server
docker-compose.yml Docker Image (mycbserver) Dockerfile (cityexplorer)
Couchbase Server image Filesystem Dockerfile run.sh
$ docker build -i mycbserver . $ docker run -t
mycbserver
In the current version of docker compose there’s no way
for container A to start once a specified TCP port on container B is open.
CityExplorer image Filesystem Dockerfile run.sh
$ docker build -i cityexplorer . $ docker run -t
cityexplorer
docker-compose.yml Docker Image (mycbserver) Dockerfile (cityexplorer)
Docker compose Filesystem Dockerfile $ docker-compose build $ docker-compose up
Development GitHub
None
Development GitHub Docker Hub
Docker Hub Image repositories: $ docker build $ docker commit
$ docker push Automated builds: • Hooks • Perfect for CD • Triggers
Image repository
Automated build
Automated build
Development GitHub Docker Hub Tutum
None
None
None
Development GitHub Docker Hub Tutum
Docker Hub hook
Docker Hub hook
Docker Hub hook
Docker Hub hook
Android Public Beta Testing
None
None
None
None
None
None
Migrations • Implicit schema in any code accessing the data
• Data access rules change
Version 1
None
Version 2
None