Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saltbo/self-hosted-mirrors
Helps own your multi mirrors quickly
https://github.com/saltbo/self-hosted-mirrors
docker-mirror goproxy mirrors
Last synced: 6 days ago
JSON representation
Helps own your multi mirrors quickly
- Host: GitHub
- URL: https://github.com/saltbo/self-hosted-mirrors
- Owner: saltbo
- License: mit
- Created: 2021-02-23T13:46:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-14T15:19:05.000Z (over 1 year ago)
- Last Synced: 2024-10-31T09:37:08.563Z (12 days ago)
- Topics: docker-mirror, goproxy, mirrors
- Language: HTML
- Homepage: https://mirrors.saltbo.cn
- Size: 30.3 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Self-hosted mirrors
![GitHub repo size](https://img.shields.io/github/repo-size/saltbo/self-hosted-mirrors)
[![visits](https://visitor.vercel.app/page/saltbo-self-hosted-mirrors?color=light-green)](https://github.com/saltbo/self-hosted-mirrors)
[![License](https://img.shields.io/github/license/saltbo/self-hosted-mirrors.svg)](https://github.com/saltbo/self-hosted-mirrors/blob/master/LICENSE)## Support Mirrors
- Go Module
- Npm Package
- Docker Registry## Required
- Docker
- Docker Compose## Quick start
1. 准备一个域名和一台国外的服务器
2. 将准备好的域名解析到该服务器
3. 确保防火墙放行80和443端口
4. 克隆本仓库,执行`docker-compose up -d`启动本项目即可```bash
git clone https://github.com/saltbo/self-hosted-mirrors.git
cd self-hosted-mirrorscp registry/config.example.yml registry/config.yml
vi registry/config.yml #设置您的DockerHub账户密码cp caddy/Caddyfile.example caddy/Caddyfile
vi caddy/Caddyfile #将域名改为您自己的域名docker-compose up -d
```## License
This repo is under the MIT license. See the [LICENSE](/LICENSE) file for details.