Hi All,
What's New?
- RapidFTR is on the
public Docker index. If you have docker, you can simply run `docker pull rapidftr/rapidftr:latest` to download RapidFTR. Docker automatically rebuilds the public image upon every commit.
- Everything packed into one container (CouchDB, Solr, Passenger, RapidFTR). The flattened tar.gz image is around 300 MB. RapidFTR can be started/stopped as a whole.
-
To install Docker on the target server, pull the latest image and to
start/stop the containers - we use Chef. This is a common pattern -
Docker is good at provisioning and packaging, while it doesn't do
anything for Configuration Management or Orchestration, and usually
people couple it with Chef or etcd or something else for the config mgmt
(i.e. deploy v1.2 to demo, master to dev, etc etc).
- Improved Security! We generate random couchdb username/passwords upon container boot, so nobody really knows what the couchdb password is.
- Shared /data volume which is persisted across reboots and redeploys, so the CouchDB data always stays the same, and gets migrated/upgraded upon every boot.
- We're building on top of the excellent
passenger-docker base image which does a lot (including managing multiple processes, etc).
What's Changed?
-
Vagrant instructions updated. For development, we're still using Vagrant and the old cookbooks (which we'll be slowly updating), but we also added librarian-chef for managing the cookbooks. Please check the wiki, you need to run `vagrant plugin install vagrant-librarian-chef`, otherwise
vagrant will refuse to work.
What's Pending?
- We're still looking at whether we want the separate infrastructure repository, or merge it into the main codebase as its getting smaller.
- When Snap-CI runs, Docker registry wouldn't have finished building the latest image yet, so Snap-CI may deploy older versions. We're in talks with the Snap-CI team for improving their webhooks, or finding other options.
- Optimizing the passenger-docker container and removing unnecessary services like ssh, cron, etc.
- Updating Wiki pages and Deployment Guide.