Public Repository

Last pushed: 5 months ago
Short Description
Atlassian FishEye on Docker
Full Description

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.

Overview

This Docker container makes it easy to get an instance of FishEye up and running.

Basic information:

  • using OpenJDK 1.8

  • application is in /atlassian/apps/fisheye

  • data is in /atlassian/data/fisheye and is set as VOLUME

  • application running on port 8080

Usage

In order to get the latest FishEye image run:

docker pull mswinarski/atlassian-fisheye:latest 

, then run FishEye with:

docker run -d -p 8080:8080 --name fisheye1 mswinarski/atlassian-fisheye:latest

, or when mapping FishEye data directory FISHEYE_INST to /your/fisheye/data directory:

docker run -d -p 8080:8080 -v /your/fisheye/data:/atlassian/data/fisheye --name fisheye1 mswinarski/atlassian-fisheye:latest

Check in the logs if FishEye is running:

docker logs -f fisheye1

and you should see something like:

INFO  - Welcome to FishEye!
INFO  - 
INFO  - You need to configure an admin password and enter your
INFO  - license key. You can do this by accessing FishEye through
INFO  - a web browser, once the server has started:
INFO  - 
INFO  - http://7731b28dd6e3:8080
...
INFO  - Server started on :8080 (http) (control port on 127.0.0.1:8059)

Configuration Options

Licence

@since: 4.2.0

Environment variable names:

  • FECRU_CONFIGURE_LICENSE_FISHEYE
  • FECRU_CONFIGURE_LICENSE_CRUCIBLE

Example:

docker run -d -p 8080:8080 --name fisheye1 -e 'FECRU_CONFIGURE_LICENSE_FISHEYE=[fisheye licence]' -e 'FECRU_CONFIGURE_LICENSE_CRUCIBLE=[crucible licence]' mswinarski/atlassian-fisheye:latest

Admin Password

@since: 4.2.0

Environment variable name:

  • FECRU_CONFIGURE_ADMIN_PASSWORD

Example:

docker run -d -p 8080:8080 --name fisheye1 -e 'FECRU_CONFIGURE_ADMIN_PASSWORD=password' mswinarski/atlassian-fisheye:latest

Database

@since: 4.2.0

Environment variable name:

  • FECRU_CONFIGURE_DB_TYPE
  • FECRU_CONFIGURE_DB_HOST
  • FECRU_CONFIGURE_DB_PORT
  • FECRU_CONFIGURE_DB_USER
  • FECRU_CONFIGURE_DB_PASSWORD

Example:

docker run -d -p 8080:8080 --name fisheye1 -e 'FECRU_CONFIGURE_DB_TYPE=postgresql' -e 'FECRU_CONFIGURE_DB_HOST=db' -e 'FECRU_CONFIGURE_DB_PORT=5432' -e 'FECRU_CONFIGURE_DB_USER=postgres' -e 'FECRU_CONFIGURE_DB_PASSWORD=password' mswinarski/atlassian-fisheye:latest

Compose examples

Have a look at docker compose examples starting FishEye & Crucible with database: bitbucket.org/mswinarski/atlassian-docker/compose

More

The Dockerfile and description can be found: bitbucket.org/mswinarski/atlassian-docker

Docker Pull Command
Owner
mswinarski

Comments (7)
mswinarski
9 months ago

FishEye 4.3.0 is ready

mswinarski
9 months ago

Reply to Steve:

Just to make sure, you have added the mysql jar to:

/home/ec2-user/atlassian/data/fisheye/lib

Now, you can just restart the docker container.

Log in to your ec2 instance and here are some docker basic commands:

To check the list of running docker containers:

"sudo docker ps"

This should show you the running FishEye&Crucible docker container with name "fisheye".

Now restart the container:

"sudo docker restart fisheye"

Make sure the fisheye container is running:

"sudo docker ps"

No to check the application starting logs:

"sudo docker logs fisheye"

stevearnold
10 months ago

How do I restart crucible after docker is running? I don't see the bin folder in the location where crucible is. I am trying to switch the database to a local mysql database. I added the mysql connector to the lib folder, but I am getting an error when testing the connection. I am thinking I need to restart crucible, but not sure how to.
Thanks,
Steve

mswinarski
a year ago

New startup configuration options: licence, admin password, database connection

mswinarski
2 years ago

Added git/hg/subversion/p4 clients to container.

mswinarski
2 years ago

@fabito - the container did not have the git/hg binaries - added; ssh client is by default in base ubuntu:14.04; please retry with :latest, if you still have any issues please post to answers.atlassian.com with #fisheye #docker and please attach logs / screenshot;

fabito
2 years ago

Any hint on how to connect to BitBucket repositories ?
I keep gettingthe error message:

Could not find SSH binary on the system path.