Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

uniplug/youtrack-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTrack on Docker

This image is unmaintained, use official Docker image.

Docker Repository on Quay

This repository contains a UNOFFICIAL 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:

docker run -d --name youtrack -p 80:80 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 -d \
 --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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published