Skip to content
This repository was archived by the owner on Nov 20, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ You also need some RAM for youtrack, but I can't really tell how much. Maybe abo

`git clone git://github.com/voidus/youtrack-docker && cd youtrack-docker`

3. Create images
3. Create images by running deploy.sh or alternatively use these commands

`docker build -t youtrack-data data`

Expand Down
10 changes: 10 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh
# build the docker images
docker build -t youtrack-data data
docker build -t youtrack youtrack

#run the data container, which will store youtrack's data
docker run --name youtrack-data-container youtrack-data true

#Launch youtrack, in foreground. Use ctrl-c to close. Run with -d to launch in background.
docker run --volumes-from youtrack-data-container -p 127.0.0.1:8080:8000 --rm youtrack
2 changes: 1 addition & 1 deletion youtrack/etc/service/youtrack/run
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
cd /home/youtrack
java -Duser.home=/youtrack-data -XX:MaxPermSize=150m -Xmx256m -jar /youtrack.jar 80
java -Duser.home=/youtrack-data -XX:MaxPermSize=150m -Xmx1g -jar /youtrack.jar 8000