Public Repository

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

Code reviews = quality code. Review code, discuss changes, share knowledge, and identify defects with Crucible's flexible review workflow. It's code review made easy for GIT, Mercurial, Subversion, CVS and Perforce.

Overview

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

Basic information:

  • using OpenJDK 1.8

  • application is in /atlassian/apps/crucible

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

  • application running on port 8080

Usage

In order to get the latest Crucible image run:

docker pull mswinarski/atlassian-crucible:latest   

, then run Crucible with:

docker run -d -p 8080:8080 --name crucible1 mswinarski/atlassian-crucible:latest

, or when mapping Crucible data directory (FISHEYE_INST) to /your/crucible/data directory:

docker run -d -p 8080:8080 -v /your/crucible/data:/atlassian/data/crucible --name crucible1 mswinarski/atlassian-crucible:latest

Check in the logs if Crucible is running:

docker logs -f crucible1

and you should see something like:

INFO  - Welcome to Crucible!
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 crucible1 -e 'FECRU_CONFIGURE_LICENSE_FISHEYE=[fisheye licence]' -e 'FECRU_CONFIGURE_LICENSE_CRUCIBLE=[crucible licence]' mswinarski/atlassian-crucible:latest

Admin Password

@since: 4.2.0

Environment variable name:

  • FECRU_CONFIGURE_ADMIN_PASSWORD

Example:

docker run -d -p 8080:8080 --name crucible1 -e 'FECRU_CONFIGURE_ADMIN_PASSWORD=password' mswinarski/atlassian-crucible: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 crucible1 -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-crucible: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 (4)
farblue
9 months ago

Is it just me or is the 4.3 tag actually 4.2.1?

mswinarski
9 months ago

Crucible 4.3.0 is ready

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.