Sign inSign up

quantonganh/youtrack

By quantonganh

Updated almost 9 years ago

Dockerized YouTrack | Issue Tracking and Project Management Tool

Image
0

88

quantonganh/youtrack repository overview

YouTrack on Docker

Docker Repository on Quay

This repository contains a Docker image of JetBrains YouTrack.

Usage

Create a named container 'youtrack'.

docker create --name youtrack uniplug/youtrack

Start the container.

docker start youtrack

YouTrack starts and listens on port 80 in the container. To map it to the host's port 80, use the following command to create and start the container instead:

docker run -t --name youtrack -p 80:80 -t uniplug/youtrack

To access container logs

docker logs -f youtrack

YouTrack is started and managed by supervisor.

Additional settings

YouTrack stores its data and backups at /opt/youtrack/data/ and /opt/youtrack/backup/ in the container. If you wish to re-use data, it is a good idea to set up a volume mapping for these two paths. For example:

docker run -t \
 --name="youtrack" \
 -v /data/youtrack/data/:/opt/youtrack/data/ \
 -v /data/youtrack/backup/:/opt/youtrack/backup/ \
 -p 80:80 \
 uniplug/youtrack
Service example with jwilder/nginx-proxy
[Unit]
Description=YouTrack
After=docker.service nginx-proxy.service
Requires=docker.service nginx-proxy.service

[Service]
KillMode=none
ExecStartPre=-/usr/bin/docker kill youtrack
ExecStartPre=-/usr/bin/docker rm youtrack
ExecStart=/usr/bin/docker run -t \
          --name youtrack \
          -v /data/youtrack/data/:/opt/youtrack/data/ \
          -v /data/youtrack/backup/:/opt/youtrack/backup/ \
          -e VIRTUAL_HOST=youtrack.example.com \
          uniplug/youtrack
ExecStop=-/usr/bin/docker stop youtrack

Tag summary

Content type

Image

Digest

Size

268.2 MB

Last updated

almost 9 years ago

docker pull quantonganh/youtrack:2017.4.37933