Skip to content

Instantly share code, notes, and snippets.

View swapnilpatil1682's full-sized avatar
🏠
Working from home

Swapnil Patil swapnilpatil1682

🏠
Working from home
View GitHub Profile
Prometheus :
Basic introduction with practical :
https://www.youtube.com/watch?v=PDxcEzu62jk
$ PACKER_LOG=1 packer build -only=virtualbox-ovf template.json
2017/10/24 11:24:31 [INFO] Packer version: 1.1.1
2017/10/24 11:24:31 Packer Target OS/Arch: linux amd64
2017/10/24 11:24:31 Built with Go Version: go1.9
2017/10/24 11:24:31 Detected home directory from env var: /home/deepak
2017/10/24 11:24:31 Using internal plugin for hyperv-iso
2017/10/24 11:24:31 Using internal plugin for vmware-vmx
2017/10/24 11:24:31 Using internal plugin for alicloud-ecs
2017/10/24 11:24:31 Using internal plugin for amazon-ebsvolume
2017/10/24 11:24:31 Using internal plugin for lxd
{
"provisioners": [
{
"type":"file",
"source":"/var/lib/jenkins/workspace/XSuite-XConfig/xconfig-release/target/xconfig-release-1.0.0-SNAPSHOT.tar.gz",
"destination":"/tmp/"
},
{
"type":"file",
"source":"/var/lib/jenkins/workspace/XSuite-XConfig/xconfig-ambari/target/xconfig-ambari-1.0.0-SNAPSHOT.tar.gz",
administrator@portal:~$ sudo docker run \
> --rm -p 680:80 -p 6443:443 -p 622:22 \
> --env PHABRICATOR_HOST=phabricator.xxxxxx \
> --env MYSQL_HOST=172.17.0.2 \
> --env MYSQL_USER=admin \
> --env MYSQL_PASS=admin \
> --env PHABRICATOR_REPOSITORY_PATH=/repos \
> -v /home/administrator/phab_repo_backup:/repos \
> --env PHABRICATOR_HOST_KEYS_PATH=/hostkeys/persisted \
> -v /home/administrator/phab_ssh_keys:/hostkeys \
@swapnilpatil1682
swapnilpatil1682 / gist:87a67225bc62d84a140a692f5984db90
Created April 26, 2017 06:10
Logs for Lets encrypt type SSL
administrator@portal:~$ sudo docker run \
> --rm -p 580:80 -p 5443:443 -p 522:22 \
> --env PHABRICATOR_HOST=phabricator.xxxxxx \
> --env MYSQL_HOST=172.17.0.2 \
> --env MYSQL_USER=admin \
> --env MYSQL_PASS=admin \
> --env PHABRICATOR_REPOSITORY_PATH=/repos \
> -v /home/administrator/phab_repo_backup:/repos \
> --env PHABRICATOR_HOST_KEYS_PATH=/hostkeys/persisted \
> -v /home/administrator/phab_ssh_keys:/hostkeys \