- C-a == Ctrl-a
- M-a == Alt-a
:q close
:w write/saves
:wa[!] write/save all windows [force]
:wq write/save and close
I hereby claim:
To claim this, I am signing this object:
version : "2" | |
services: | |
interlock: | |
image: ehazlett/interlock:ng | |
command: -D run --discovery etcd://$CONTROLLER_IP:12379 --discovery-tls-ca-cert /kvcerts/ca.pem --discovery-tls-cert /kvcerts/cert.pem --discovery-tls-key /kvcerts/key.pem | |
volumes: | |
- ucp-swarm-node-certs:/certs |
version : "2" | |
services: | |
interlock: | |
image: ehazlett/interlock:ng | |
command: -D run --discovery etcd://$CONTROLLER_IP:12379 --discovery-tls-ca-cert /kvcerts/ca.pem --discovery-tls-cert /kvcerts/cert.pem --discovery-tls-key /kvcerts/key.pem | |
volumes: | |
- ucp-node-certs:/kvcerts | |
- ucp-node-certs:/certs |
#!/bin/bash | |
while [[ $# -gt 1 ]] | |
do | |
case "$1" in | |
-f | --file) | |
file="$2" | |
shift 2 | |
;; | |
-h | --hostname) |
# Small script to trust a Docker Trusted Registry's certificate | |
import os | |
import shutil | |
import logging | |
import sys | |
# Logging settings | |
logging.basicConfig(stream=sys.stdout,level=logging.DEBUG) | |
# Only env var requirement |
consul-bootstrapper: | |
image: progrium/consul | |
ports: | |
- "8300-8302:8300-8302" | |
- "8300-8302:8300-8302/udp" | |
- "8400:8400" | |
- "8500:8500" | |
command: -server -advertise $ADVERTISE_IP -bootstrap-expect 2 | |
restart: always | |
name: consul-server-1 |