Sign inSign up

boomer/docker-countly

By boomer

•Updated about 11 years ago

Fixes missing npm modules, part of doc and missing css/js files

Image
0

451

boomer/docker-countly repository overview

⁠docker-countly

A nice and easy way to get a Countly instance up and running using docker. For help on getting started with docker see the official getting started guide⁠. For more information on Countly and check out it's website⁠.

⁠Building docker-countly

Running this will build you a docker image with the latest stable version of both docker-countly and County itself.

sudo docker build -t boomer/countly git://github.com/boomer75013/docker-countly.git

⁠Running docker-countly

Running the first time will setup Mongodb to be in your data dir shared with your host so that you can back it up if you want to. It will also set your port to a static port of your choice so that you can easily map a proxy to it. If this is the only thing running on your system you can map the port to 80 and no proxy is needed. i.e. -p=80:80 Also be sure your mounted directory on your host machine is already created before running this.

sudo mkdir -p /mnt/countly
sudo mkdir -p /mnt/countly/log
sudo mkdir -p /mnt/countly/db
sudo docker run  -d -p=10000:80 -v=/mnt/countly:/data boomer/docker-countly

From now on when you start/stop docker-countly you should use the container id with the following commands. To get your container id, after you initial run type sudo docker ps and it will show up on the left side followed by the image name which is boomer/countly:latest.

sudo docker start <container_id>
sudo docker stop <container_id>
⁠Notes on the run command
  • -v is the volume you are mounting -v=host_dir:docker_dir
  • boomer/docker-countly is simply what I called my docker build of this image
  • -d=true allows this to run cleanly as a daemon, remove for debugging
  • -p is the port it connects to, -p=host_port:docker_port

Tag summary

Content type

Image

Digest

sha256:3887cb403…

Size

385.8 MB

Last updated

about 11 years ago

docker pull boomer/docker-countly