tinki-team-build

Inside the container server, the stack should be located at /srv/data/tinki-team-build holding a docker-compose.yml manifest with the following services described below. To install and run the stack, execute docker-compose up -d from the project folder. In a similar fashion, use docker-compose down to halt the services. To backup the whole stack use the backup-all.sh script. To backup a particular service run the backup.sh script from its folder, if present.

  • Docker registry, at docker-reg.cadt.com.
  • Gitlab, at git.cadt.com.
  • Jenkins, at jenkins.cadt.com.
  • Jira, at jira.cadt.com.
  • NPM, at npm.cadt.com.

Docker Registry

The Docker Registry service exposes port 5000. This service is not backed up, as it holds and serves compiled Docker images from Gitlab via Jenkins.

Gitlab

The Gitlab service exposes its web interface on port 8101 and its SSH access through port 22. Backup is mainly done by a Rake task, as stated in the official guide. The following folders are mapped to the host in order to backup configuration files and logs, according to the same guide. Restoration can be found in another section of the same document.

  • /var/opt/gitlab to /srv/data/gitlab/data.
  • /etc/gitlab to /srv/data/gitlab/cfg.
  • /var/log/gitlab to /srv/log/gitlab.

Jenkins

The Jenkins service exposes its web interface on port 8080. It is fairly simple to backup and the process is described in its administration guide. The following folders are mapped to the host in order to backup configuration files and logs.

  • /var/jenkins_home to /srv/data/jenkins.
  • /var/jenkins_home/logs to /srv/log/jenkins.

Jira

The Jira service exposes its web interface on port 8102. According to the information present in their official guide, the current backup script will save the dump inside the host's /srv/data/jira/db folder. The following folders are mapped to the host in order to backup configuration files and logs.

  • /opt/jira to /srv/data/jira/data.
  • /opt/jira/log to /srv/log/jira.

NPM

The NPM service exposes its web interface on port 8103 and its package manager access through port 5984. The following folders are mapped to the host in order to backup configuration files and logs.

  • /var/lib/couchdb to /srv/data/npm.

References