- 2016-05-27-raspbian-jessie-lite
Best way i found is to install it via nvm (node version manager) Check the version on https://github.com/creationix/nvm/releases
| registry: | |
| image: registry:2 | |
| restart: always | |
| ports: | |
| - 5000:5000 | |
| volumes: | |
| - ./data:/var/lib/registry | |
| - ./certs:/certs | |
| - ./auth:/auth | |
| environment: |
| sudo brctl addbr docker0 | |
| sudo ip addr add 192.168.55.1/24 dev docker0 | |
| sudo ip link set dev docker0 up |
| #!/bin/bash | |
| set -eo pipefail | |
| cert_file="$1" | |
| if [ -z "$cert_file" ]; then | |
| echo "Usage: create-startssl-cert-bundle CERTIFICATE_FILE" >&2 | |
| echo >&2 | |
| echo "Bundles StartSSL's intermediate certs and writes combined certificate to stdout" >&2 | |
| exit 1 |
| server { | |
| listen 443; | |
| server_name docker.domain.tld; | |
| client_max_body_size 1G; | |
| ssl on; | |
| ssl_certificate /path/to/certs/registry.bundle.crt; | |
| ssl_certificate_key /path/to/certs/registry.key; | |
| location / { |
| #!/bin/bash | |
| # Install ssh-agent if not already installed, it is required by Docker. | |
| # (change apt-get to yum if you use a CentOS-based image) | |
| which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y ) | |
| # Run ssh-agent (inside the build environment) | |
| eval $(ssh-agent -s) |
| postgresql: | |
| restart: always | |
| image: sameersbn/postgresql:9.4-10 | |
| environment: | |
| - DB_USER=gitlab | |
| - DB_PASS=***changeme*** | |
| - DB_NAME=gitlabhq_production | |
| volumes: | |
| - /srv/docker/gitlab/postgresql:/var/lib/postgresql | |
| gitlab: |
Best way i found is to install it via nvm (node version manager) Check the version on https://github.com/creationix/nvm/releases
| #!/usr/bin/env python | |
| # post-receive hook for git-based deployments | |
| import sys | |
| import os | |
| from subprocess import call | |
| # configuration | |
| deploy_to_path = os.path.realpath('./deploy_dir') | |
| deploy_branch = 'master' |
| #!/bin/bash | |
| # Adds reference to GitHub issue if available in branch name. | |
| # The issue number should be at the end of the branch name, following | |
| # a hyphen. | |
| # Only proceed if no second parameter is given to the script. | |
| if [ x = x${2} ]; then | |
| branch=$(git symbolic-ref --short HEAD) | |
| if [[ $branch =~ ^([^/]+)/([A-Z]+\-[0-9]+) ]]; then |
| /** | |
| * Animate a dashed svg path | |
| * @param el DOM path element | |
| * @param width Width of the dashes | |
| * @param space Space between the dashes | |
| */ | |
| animateLine (el, width, space) { | |
| let total = Math.floor(el.getTotalLength()) | |
| let segment = [width, space] |