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/gitlabto/srv/data/gitlab/data./etc/gitlabto/srv/data/gitlab/cfg./var/log/gitlabto/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_hometo/srv/data/jenkins./var/jenkins_home/logsto/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/jirato/srv/data/jira/data./opt/jira/logto/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/couchdbto/srv/data/npm.
References
- Backing up and restoring GitLab. Creating a backup of the GitLab system [online]. Available at https://docs.gitlab.com/ce/raketasks/backup_restore.html#creating-a-backup-of-the-gitlab-system (Accessed 16 March 2018).
- Backing up and restoring GitLab. Storing configuration files [online]. Available at https://docs.gitlab.com/ce/raketasks/backup_restore.html#storing-configuration-files (Accessed 16 March 2018).
- Backing up and restoring GitLab. Restore [online]. Available at https://docs.gitlab.com/ce/raketasks/backup_restore.html#restore (Accessed 16 March 2018).
- Jenkins Wiki. Administering Jenkins [online]. Available at https://wiki.jenkins.io/display/JENKINS/Administering+Jenkins (Accessed 16 March 2018).
- Atlassian Documentation. Backing up data [online]. Available at https://confluence.atlassian.com/adminjiraserver/backing-up-data-938847673.html (Accessed 16 March 2018).
