Skip to content

Commit

Permalink
update dkTurbo
Browse files Browse the repository at this point in the history
  • Loading branch information
Cp0204 committed Jun 29, 2024
1 parent b0fb629 commit a686577
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 12 deletions.
42 changes: 31 additions & 11 deletions Apps/0-dkturbo/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ services:
- /etc/docker:/etc/docker
- /opt:/opt
environment:
- MODE=registry
- REGISTRY=auto
network_mode: bridge
restart: unless-stopped
Expand All @@ -30,12 +31,12 @@ x-casaos:
author: Cp0204
category: Utilities
description:
en_us: Docker image accelerator, automatically test the speed and apply the fastest image source.
en_us: Docker image accelerator, automatically test the speed and apply the fastest image source. **Non-Chinese users don’t need to use**
zh_cn: Docker 镜像加速器,自动测速和应用最快镜像源。
developer: Cp0204
icon: https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/0-dkturbo/icon.png
tagline:
en_us: Docker Registry Mirror Turbo
en_us: Non-Chinese users don’t need to use
zh_cn: Docker 镜像加速器,喂饭到你嘴里
title:
en_us: "dkTurbo"
Expand All @@ -46,15 +47,7 @@ x-casaos:
tips:
before_install:
en_us: |
### Startup = automatic source change
Automatically measure and modify the mirror source, you can see the work progress in the container log.
### Grayed out = Source change succeeded
Automatically stop and restart system Docker service after source change, containers can be deleted.
[Online source list](https://gist.github.com/Cp0204/4330ca3b8bc68c4a4a8d57e3982a859b), you can participate in contributing.
**Non-Chinese users don’t need to use**
zh_cn: |
### 启动 = 自动换源
Expand All @@ -65,3 +58,30 @@ x-casaos:
换源后自动停止,并重启系统 Docker 服务,容器可以删除。
[在线源列表](https://gist.github.com/Cp0204/4330ca3b8bc68c4a4a8d57e3982a859b),你可以参与贡献。
## ↓ 高阶使用 ↓
本应用提供两种加速模式,您可以根据网络环境和需求选择合适的模式:
**1. registry 模式 (默认)**
此模式下,应用会从指定的 registry 镜像源下载所需资源,无需配置代理,更加简单便捷。
| 环境变量 | 值 | 说明 |
|---|---|---|
| `MODE` | `registry` | 必须 |
| `REGISTRY` | `auto` (默认) | 加载在线镜像列表,自动选择最快的镜像 |
| | `local` | 使用内置列表,自动选择 |
| | `your.domain.com` | 使用自定义镜像 |
| | `none` | 取消镜像设置 |
**2. proxy 模式**
此模式下,docker pull 流量都会通过代理服务器,适合本地开有代理的用户。
| 环境变量 | 值 | 说明 |
|---|---|---|
| `MODE` | `proxy` | 必须 |
| `HTTP_PROXY` | 例 `172.17.0.1:1080` | HTTP 代理服务器地址 |
| `HTTPS_PROXY` | 例 `172.17.0.1:1080` | HTTPS 代理服务器地址 |
| `NO_PROXY` | `localhost,127.0.0.1,.example.com` | 不经过代理的域名或IP地址 |
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ If you think this project is helpful to you, you can give me a little support. T

| Icon | AppName | Description |
|:----:|---------|-------------|
| ![dkTurbo](https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/0-dkturbo/icon.png) | [dkTurbo](./Apps/0-dkturbo) | Docker image accelerator, automatically test the speed and apply the fastest image source.<br>Docker 镜像加速器,自动测速和应用最快镜像源。 |
| ![dkTurbo](https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/0-dkturbo/icon.png) | [dkTurbo](./Apps/0-dkturbo) | Docker image accelerator, automatically test the speed and apply the fastest image source. **Non-Chinese users don’t need to use**<br>Docker 镜像加速器,自动测速和应用最快镜像源。 |
| ![1Panel](https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/1panel/icon.png) | [1Panel](./Apps/1panel) | Modern and Open-Source Linux Server Operation and Management Panel<br>现代化、开源的 Linux 服务器运维管理面板 |
| ![Adminer](https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/adminer/icon.png) | [Adminer](./Apps/adminer) | Adminer is a database management tool that allows you to manage your databases with a simple and intuitive interface.<br>Adminer 是一个数据库管理工具,它通过简单直观的界面帮助您管理数据库。 |
| ![AFFiNE](https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/affine/icon.svg) | [AFFiNE](./Apps/affine) | A privacy-focused, local-first, open-source, and ready-to-use alternative for Notion & Miro. One hyper-fused platform for wildly creative minds. AFFiNE is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.<br>AFFiNE 是一个注重隐私、本地优先、开源且即时可用的 Notion 和 Miro 替代方案。这是一个专为狂野创意人士打造的超融合平台。AFFiNE 是一个下一代知识库,它将计划、分类和创建融为一体。隐私至上,开源,可定制,开箱即用。 |
Expand Down

0 comments on commit a686577

Please sign in to comment.