Help us shape the future of Go! Take the 2026 Go Developer Survey

dockerproxy

command module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 11 Imported by: 0

README

dockerproxy

Docker 镜像加速站集合

Docker

环境变量参数:

参数 描述
AUTO_UPDATE_TIME 设置自动更新时间/分钟,默认30分钟
CRON_SPEC 定时任务 spec,默认为每天凌晨
GIST_URL 存放数据 gist 地址,必填
使用环境变量
docker run --name=dockerproxy -e GIST_URL="xxx" -p 9101:9101 -d ghcr.io/xiaoxuan6/dockerproxy:latest
使用 .env 文件
docker run --name=dockerproxy -v $(pwd)/.env:/src/.env -p 9101:9101 -d ghcr.io/xiaoxuan6/dockerproxy:latest

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL