Public Repository

Last pushed: 2 years ago
Short Description
scm-server 1.46 running on base/archlinux with jdk1.8.0_66 and mercurial v3.7.1
Full Description

Create directory for repositories:
$ sudo install -m755 -d /var/lib/scm

Run container:
$ docker run -d -i -t -p 8080:8080 -v /var/lib/scm:/var/lib/scm denix666/scm-server:1.46

To autostart container with systemd service create unit file:
[Unit]
Description=scm-server
After=docker.service
Requires=docker.service

[Service]
Restart=on-failure
ExecStartPre=/usr/bin/install -m777 -d /var/lib/scm
ExecStartPre=-/usr/bin/docker stop scm-server
ExecStartPre=-/usr/bin/docker rm scm-server
ExecStart=/usr/bin/docker run -d -i -t -p 8080:8080 --name scm-server -v /var/lib/scm:/var/lib/scm denix666/scm-server:1.46

[Install]
WantedBy=multi-user.target

Docker Pull Command
Owner
denix666