Skip to content

zhhzhc/docker-google-mirror

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

跑在 docker 里的 google 镜像

简单两步获得 Google 镜像,使用方法:

git clone https://github.com/yifeikong/docker-google-mirror
cd docker-google-mirror
docker build -t google-mirror .
docker run -d -p 80:80 google-mirror

配置https

  1. 编辑Dockerfile文件,注释第22行,并解注释第24、25行
  2. 申请域名证书,具体参考Get Https For Free
  3. 添加自己的域名证书到该目录下
cd docker-google-mirror
cp ~/chained.pem ~/domain.key ~/dhparam.pem . # 把对应文件拷过来
docker build -t google-mirror .
docker run -d -p 80:80 -p 443:443 google-mirror

致谢

其实这只是强大的Google Filter Module的一个容器而已啦

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%