Skip to content

Dockerized YouTrack | Issue Tracking and Project Management Tool

License

Notifications You must be signed in to change notification settings

barnacleboy/youtrack-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Dockerized YouTrack | Issue Tracking and Project Management Tool

Resources

License

Stars

Watchers

Forks

Packages

No packages published