Auto-sync: 2026-04-26 20:02
This commit is contained in:
@@ -1,48 +1,42 @@
|
||||
---
|
||||
title: "用Docker安装it-tools"
|
||||
type: source
|
||||
tags: [docker, it-tools]
|
||||
date: 2026-04-14
|
||||
---
|
||||
|
||||
## Source File
|
||||
- [[raw/Home Office/用Docker安装it-tools.md]]
|
||||
|
||||
## Summary (用中文描述)
|
||||
- **核心主题**:使用 Docker Compose 在 Home Server 环境中一键部署 it-tools 开发者工具集合
|
||||
- **问题域**:开发者工具匮乏、工具安装繁琐
|
||||
- **方法/机制**:通过 Docker Compose YAML 定义服务,使用 `corentinth/it-tools:latest` 镜像,暴露 8999 端口,设置 128MB 内存限制
|
||||
- **结论/价值**:提供零配置、可移植的 it-tools 部署方案,实现开箱即用的开发者工具 Web UI
|
||||
|
||||
## Key Claims (用中文描述)
|
||||
- Docker Compose 通过 `version: '3.8'` 定义服务编排,实现 it-tools 容器化部署
|
||||
- it-tools 容器通过 `restart: unless-stopped` 策略确保异常重启后自动恢复
|
||||
- 交互模式配置(`stdin_open: true` + `tty: true`)保证容器与终端的标准 I/O 交互能力
|
||||
- 内存限制 128MB 足以支持 it-tools Web UI 运行,同时防止资源滥用
|
||||
|
||||
## Key Quotes
|
||||
> `8999:80` — 宿主机 8999 端口映射到容器内 80 端口,通过浏览器访问 Web UI
|
||||
|
||||
## Key Concepts
|
||||
- [[Docker Compose]]:定义多容器 Docker 应用的配置文件格式
|
||||
- [[容器资源限制]]:通过 `deploy.resources.limits.memory` 约束容器最大内存使用
|
||||
- [[容器重启策略]]:`unless-stopped` 确保容器在 Docker 守护进程启动时自动重启
|
||||
- [[端口映射]]:`-p` 标志将宿主机端口与容器端口进行一对一映射
|
||||
- [[交互模式容器]]:`stdin_open` + `tty` 组合启用容器的交互式终端能力
|
||||
|
||||
## Key Entities
|
||||
- [[it-tools]]:开源开发者工具集合 Web UI,提供 URL 编码/解码、UUID 生成、Cron 表达式解析等实用工具
|
||||
- [[corentinth/it-tools]]:it-tools 的官方 Docker 镜像,由 Corentin Th 维护
|
||||
|
||||
## Connections
|
||||
- [[it-tools]] ← deployed_via ← [[Docker Compose]]
|
||||
- [[Docker Compose]] ← dependency ← [[容器资源限制]]
|
||||
- [[Docker Compose]] ← dependency ← [[容器重启策略]]
|
||||
|
||||
## Contradictions
|
||||
无
|
||||
|
||||
## Metadata
|
||||
- **Author**: shenwei
|
||||
- **Tags**: docker, it-tools
|
||||
- **Source**: Home Office
|
||||
---
|
||||
title: "用Docker安装it-tools"
|
||||
type: source
|
||||
tags: [docker, it-tools]
|
||||
date: 2026-04-26
|
||||
---
|
||||
|
||||
## Source File
|
||||
- [[Home Office/用Docker安装it-tools.md]]
|
||||
|
||||
## Summary(用中文描述)
|
||||
- 核心主题:通过 Docker Compose 在 Home Server 环境中部署 it-tools 网络工具集
|
||||
- 问题域:Home Server 自托管服务的容器化安装与配置
|
||||
- 方法/机制:使用 Docker Compose YAML 配置,启动 `corentinth/it-tools:latest` 官方镜像,设置交互模式(stdin_open + tty)、端口映射(8999→80)及内存限制(128M)
|
||||
- 结论/价值:提供一键部署 IT 工具集的完整方案,适用于内网环境快速访问常用开发运维工具
|
||||
|
||||
## Key Claims(用中文描述)
|
||||
- CorentinTh/it-tools 镜像可作为 Home Server 常驻服务运行
|
||||
- Docker Compose 的 `stdin_open: true` 和 `tty: true` 配置对于交互式容器至关重要
|
||||
- 128M 内存限制对 it-tools 足够(该应用为纯前端工具)
|
||||
|
||||
## Key Quotes
|
||||
> "version: '3.8'" — Docker Compose 文件版本声明
|
||||
> "image: corentinth/it-tools:latest" — 使用的官方 it-tools 镜像
|
||||
> "restart: unless-stopped" — 容器自动重启策略
|
||||
|
||||
## Key Concepts
|
||||
- [[Docker Compose]]:多容器 Docker 应用的声明式配置文件格式,本文档使用 version 3.8 版本
|
||||
- [[Containerization]]:容器化技术,将应用及其依赖打包为可移植的镜像,在隔离环境中运行
|
||||
- [[Home Server]]:家庭自托管服务器环境,用于部署私有化服务
|
||||
|
||||
## Key Entities
|
||||
- [[CorentinTh/it-tools]]:由 Corentin Thierart 开发的开源 IT 工具集合 Web 应用,提供 100+ 常用开发运维工具
|
||||
- [[Corentin Thierart]]:it-tools 项目的作者和维护者
|
||||
|
||||
## Connections
|
||||
- [[如何在Ubuntu Server安装 Docker & Docker Compose]] ← part_of ← it-tools 部署前提
|
||||
- [[用Docker安装Portainer]] ← similar ← [[用Docker安装it-tools]](同为 Home Server Docker 服务)
|
||||
- [[用Docker安装Homarr]] ← similar ← [[用Docker安装it-tools]](同为 Home Server 仪表盘/工具类 Docker 服务)
|
||||
|
||||
## Contradictions
|
||||
- (无已知冲突内容)
|
||||
|
||||
Reference in New Issue
Block a user