Docker Fisheye container
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Descoped Atlassian Fisheye


Fisheye provides a read-only window into your Subversion, Perforce, CVS, Git, and Mercurial repositories, all in one place. Keep a pulse on everything about your code: Visualize and report on activity, integrate source with JIRA issues, and search for commits, files, revisions, or people.

In case you want Crucible support too, please check out descoped/fisheye-crucible.

For all aspects about configuring, using and administering Fisheye please see the official Fisheye Documentation.

How to use?

The examples shown below assume you will use a MySQL database.

Please pay attention to the IP addresses used in the examples below. The IP refers to your host OS. The IP refers to the MySQL database and the IP to the newly installed Fisheye guest OS. To figure out the IP in your guest OS you can either connect to a running instance by issuing docker exec -it [container-name] /bin/bash and do ifconfig or locate the IP from docker inspect [container-name].


  • MySQL 5.5 or 5.6 (please notice that Fisheye is not compatible with MySQL 5.7)
  • PostgreSQL 8.4+

Important notice: The Postgres driver is shipped with the Fisheye distribution, whereas the MySQL driver will be downloaded when running the image.

Database Setup

MySQL setup (assuming that MySQL isn't installed yet):

$ docker run -d -p 3306:3306 --name mysql -v /var/mysql:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=[db-password] mysql/mysql-server:5.6
$ mysql -h -u root -p[db-password]

If you use a default Docker installation with no images installed, the assigned IP for MySQL will be:

Optionally you may configure security constraints by:

GRANT ALL PRIVILEGES ON fisheye.* TO '[appuser]'@'' IDENTIFIED BY '[apppassword]' with grant option;

Please notice that the [appuser] and [apppassword] must be configured to what is appropriate for your system.


Run docker using port 8060 on your host (if available):

docker run -p 8060:8060 descoped/fisheye

Run with data outside the container using a volume:

$ docker run --name fisheye -v /var/fisheye:/var/atlassian-home -e CONTEXT_PATH=ROOT -e DATABASE_URL=mysql://[username]:[password]@ -e INSTALL_CRUCIBLE= -p 8060:8060 descoped/fisheye

To stop the running instance:

$ docker fisheye stop

To start running instance:

$ docker fisheye start

Docker Volume

The mappable VOLUME is: /var/atlassian-home

Browser URL:

The host IP is assumed to be


Database connection

The connection to the database can be specified with an URL of the format:

[database type]://[username]:[password]@[host]:[port]/[database name]

Where database type is either mysql or postgresql and the full URL look like this:





Environement variables

Configuration options are set by setting environment variables when running the image. What follows it a table of the supported variables:

Variable Function
CONTEXT_PATH Context path of the Fisheye webapp. You can set this to add a path prefix to the url used to access the webapp. i.e. setting this to fisheye will change the url to The value ROOT is reserved to mean that you don't want a context path prefix. Defaults to ROOT
DATABASE_URL Connection URL specifying where and how to connect to a database dedicated to Fisheye. This variable is optional and if specified will cause the Fisheye setup wizard to skip the database setup set.

Source code

If you want to contribute to this project or make use of the source code; you'll find it on GitHub.

Building the image

docker build -t descoped/fisheye .

Further reading