Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #cloud-config
- ssh_authorized_keys:
- - ssh-rsa ##
- rancher:
- services:
- nginx-proxy:
- image: jwilder/nginx-proxy:0.4.0
- restart: unless-stopped
- ports:
- - "80:80"
- - "443:443"
- volumes:
- - '/home/docker/nginx-proxy/ssl:/etc/nginx/certs:ro'
- - '/etc/nginx/vhost.d'
- - '/usr/share/nginx/html'
- - '/var/run/docker.sock:/tmp/docker.sock:ro'
- letsencrypt-nginx-proxy-companion:
- image: jrcs/letsencrypt-nginx-proxy-companion:v1.3
- restart: unless-stopped
- volumes_from:
- - nginx-proxy
- volumes:
- - '/home/docker/nginx-proxy/ssl:/etc/nginx/certs:rw'
- - '/var/run/docker.sock:/var/run/docker.sock:ro'
- rancher-server:
- image: rancher/server
- restart: unless-stopped
- environment:
- - VIRTUAL_PORT=8080
- - VIRTUAL_HOST=theringer.tk
- - LETSENCRYPT_TEST=false
- - LETSENCRYPT_HOST=theringer.tk
- - LETSENCRYPT_EMAIL=tytek2012@gmail.com
- - CATTLE_DB_CATTLE_MYSQL_HOST=192.168.1.33
- - CATTLE_DB_CATTLE_MYSQL_PORT=3306
- - CATTLE_DB_CATTLE_MYSQL_NAME=rancheros
- - CATTLE_DB_CATTLE_USERNAME=rancher
- - CATTLE_DB_CATTLE_PASSWORD=rancher
Add Comment
Please, Sign In to add comment