通过ubuntu
的apt-get
安装的squid
没有启用ssl
功能,需要手动编译。
编译squid
步骤如下。
apt-get install openssl libssl-dev ssl-cert
apt-get source squid
### KERNEL TUNING ### | |
# Increase size of file handles and inode cache | |
fs.file-max = 2097152 | |
# Do less swapping | |
vm.swappiness = 10 | |
vm.dirty_ratio = 60 | |
vm.dirty_background_ratio = 2 |
import os | |
import requests | |
import json | |
import time | |
environmentName = 'some-env' | |
serviceName = 'some-service' | |
newImage = 'docker:arkka/some-image:tag' | |
# Find stack based on their name |