Update README.md
This commit is contained in:
parent
732134f165
commit
2812347933
|
@ -4,6 +4,9 @@ GitHub [stilleshan/dockerfiles](https://github.com/stilleshan/dockerfiles)
|
||||||
Docker [stilleshan/alpine-openjdk-8-headless](https://hub.docker.com/r/stilleshan/alpine-openjdk-8-headless)
|
Docker [stilleshan/alpine-openjdk-8-headless](https://hub.docker.com/r/stilleshan/alpine-openjdk-8-headless)
|
||||||
> *docker image support for X86 and ARM*
|
> *docker image support for X86 and ARM*
|
||||||
|
|
||||||
## 使用
|
## 简介
|
||||||
基于 alpine 的 openjdk 8 headless 多架构基础镜像,用于 zfile 等容器构建.
|
基于 alpine 的 openjdk 8 headless 基础镜像.
|
||||||
|
|
||||||
|
## 更新
|
||||||
|
**2021-06-11** 更新 docker 镜像,新增同时支持 X86 和 ARM 架构.
|
||||||
|
|
||||||
|
|
|
@ -4,10 +4,37 @@ GitHub [stilleshan/dockerfiles](https://github.com/stilleshan/dockerfiles)
|
||||||
Docker [stilleshan/anylink](https://hub.docker.com/r/stilleshan/anylink)
|
Docker [stilleshan/anylink](https://hub.docker.com/r/stilleshan/anylink)
|
||||||
> *docker image support for X86 and ARM*
|
> *docker image support for X86 and ARM*
|
||||||
|
|
||||||
## 使用
|
## 简介
|
||||||
本仓库参考 [bjdgyc/anylink](https://github.com/bjdgyc/anylink) 构建 X86 和 ARM 平台 docker 镜像,具体使用教程请参考原作者仓库.
|
基于 [bjdgyc/anylink](https://github.com/bjdgyc/anylink) 项目的 docker 镜像.
|
||||||
|
|
||||||
|
## 更新
|
||||||
|
**2021-06-09** 更新`0.3.3`版 docker 镜像,新增同时支持 X86 和 ARM 架构.
|
||||||
|
|
||||||
|
## 部署
|
||||||
|
### docker
|
||||||
|
```shell
|
||||||
|
docker run -d \
|
||||||
|
--name=anylink \
|
||||||
|
--restart=always \
|
||||||
|
--privileged=true \
|
||||||
|
-p 443:443 \
|
||||||
|
-p 8800:8800 \
|
||||||
|
-v /root/anylink/:/app/conf \
|
||||||
|
stilleshan/anylink
|
||||||
|
```
|
||||||
|
|
||||||
|
### docker compose
|
||||||
|
下载 [docker-compose.yml](https://raw.githubusercontent.com/stilleshan/dockerfiles/main/anylink/docker-compose.yml) 执行以下命令启动:
|
||||||
|
```shell
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
### 配置
|
||||||
|
关于初始配置,修改密码,网络等更多信息请参考: GitHub [bjdgyc/anylink](https://github.com/bjdgyc/anylink)
|
||||||
|
|
||||||
|
|
||||||
## 参考
|
## 参考
|
||||||
[开源企业级远程办公 VPN 软件 AnyLink 的 docker 部署及使用心得](https://www.ioiox.com/archives/128.html)
|
- GitHub [bjdgyc/anylink](https://github.com/bjdgyc/anylink)
|
||||||
[群晖NAS高级服务 - docker 部署 AnyLink 企业级远程办公 VPN 服务](https://www.ioiox.com/archives/129.html)
|
- [开源企业级远程办公 VPN 软件 AnyLink 的 docker 部署及使用心得](https://www.ioiox.com/archives/128.html)
|
||||||
|
- [群晖NAS高级服务 - docker 部署 AnyLink 企业级远程办公 VPN 服务](https://www.ioiox.com/archives/129.html)
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
anylink:
|
||||||
|
image: stilleshan/anylink
|
||||||
|
container_name: anylink
|
||||||
|
privileged: true
|
||||||
|
ports:
|
||||||
|
- 443:443
|
||||||
|
- 8080:8800
|
||||||
|
volumes:
|
||||||
|
- ./app/conf:/app/conf
|
||||||
|
restart: always
|
||||||
|
|
|
@ -4,9 +4,20 @@ GitHub [stilleshan/dockerfiles](https://github.com/stilleshan/dockerfiles)
|
||||||
Docker [stilleshan/chevereto](https://hub.docker.com/r/stilleshan/chevereto)
|
Docker [stilleshan/chevereto](https://hub.docker.com/r/stilleshan/chevereto)
|
||||||
> *docker image support for X86 and ARM*
|
> *docker image support for X86 and ARM*
|
||||||
|
|
||||||
## 使用
|
## 简介
|
||||||
本仓库参考 [tanmng/docker-chevereto](https://github.com/tanmng/docker-chevereto) 构建 X86 和 ARM 平台 docker 镜像,具体使用教程请参考原作者仓库.
|
基于 [Chevereto-Free](https://github.com/Chevereto/Chevereto-Free) 项目的 docker 镜像.
|
||||||
|
|
||||||
|
## 更新
|
||||||
|
**2021-06-09** 更新`1.3.0`版 docker 镜像,新增同时支持 X86 和 ARM 架构.
|
||||||
|
|
||||||
|
## 部署
|
||||||
|
### docker compose
|
||||||
|
下载 [docker-compose.yml](https://raw.githubusercontent.com/stilleshan/dockerfiles/main/chevereto/docker-compose.yml) 执行以下命令启动:
|
||||||
|
```shell
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
参考教程修改相关参数: [docker compose 部署迁移 Chevereto 图床程序教程](https://www.ioiox.com/archives/80.html)
|
||||||
|
|
||||||
## 参考
|
## 参考
|
||||||
[docker compose 部署迁移 Chevereto 图床程序教程](https://www.ioiox.com/archives/80.html)
|
GitHub [docker-chevereto](https://github.com/tanmng/docker-chevereto)
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,42 @@
|
||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
db:
|
||||||
|
image: mariadb
|
||||||
|
# container_name: mariadb
|
||||||
|
volumes:
|
||||||
|
- ./database:/var/lib/mysql:rw
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- private
|
||||||
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: root_password
|
||||||
|
MYSQL_DATABASE: database_name
|
||||||
|
MYSQL_USER: database_user
|
||||||
|
MYSQL_PASSWORD: database_password
|
||||||
|
TZ: Asia/Shanghai
|
||||||
|
|
||||||
|
chevereto:
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
image: stilleshan/chevereto
|
||||||
|
# container_name: chevereto
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- private
|
||||||
|
environment:
|
||||||
|
CHEVERETO_DB_HOST: db
|
||||||
|
CHEVERETO_DB_USERNAME: database_user
|
||||||
|
CHEVERETO_DB_PASSWORD: database_password
|
||||||
|
CHEVERETO_DB_NAME: database_name
|
||||||
|
CHEVERETO_DB_PREFIX: chv_
|
||||||
|
TZ: Asia/Shanghai
|
||||||
|
volumes:
|
||||||
|
- ./images:/var/www/html/images:rw
|
||||||
|
- ./php.ini:/usr/local/etc/php/php.ini:ro
|
||||||
|
ports:
|
||||||
|
- 12345:80
|
||||||
|
|
||||||
|
networks:
|
||||||
|
private:
|
||||||
|
|
|
@ -4,17 +4,32 @@ GitHub [stilleshan/dockerfiles](https://github.com/stilleshan/dockerfiles)
|
||||||
Docker [stilleshan/ddns-aliyun](https://hub.docker.com/r/stilleshan/ddns-aliyun)
|
Docker [stilleshan/ddns-aliyun](https://hub.docker.com/r/stilleshan/ddns-aliyun)
|
||||||
> *docker image support for X86 and ARM*
|
> *docker image support for X86 and ARM*
|
||||||
|
|
||||||
## 使用
|
## 简介
|
||||||
### docker 启动
|
基于阿里云 DDNS 的 docker 镜像.
|
||||||
|
|
||||||
|
## 更新
|
||||||
|
**2021-06-11** 更新 docker 镜像,新增同时支持 X86 和 ARM 架构.
|
||||||
|
|
||||||
|
## 部署
|
||||||
|
### docker
|
||||||
```shell
|
```shell
|
||||||
docker run -d \
|
docker run -d \
|
||||||
-e "AKID=[ALIYUN's AccessKey-ID]" \
|
--name=ddns-aliyun \
|
||||||
-e "AKSCT=[ALIYUN's AccessKey-Secret]" \
|
--restart=always \
|
||||||
-e "DOMAIN=ddns.yourdomain.com" \
|
-e "AKID=AccessKey-ID" \
|
||||||
-e "REDO=600" \
|
-e "AKSCT=AccessKey-Secret" \
|
||||||
|
-e "DOMAIN=ddns.yourdomain.com" \
|
||||||
|
-e "REDO=600" \
|
||||||
stilleshan/ddns-aliyun
|
stilleshan/ddns-aliyun
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### docker compose
|
||||||
|
下载 [docker-compose.yml](https://raw.githubusercontent.com/stilleshan/dockerfiles/main/ddns-aliyun/docker-compose.yml) 执行以下命令启动:
|
||||||
|
```shell
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
### 配置
|
||||||
- AKID: 填写`AccessKeyID`
|
- AKID: 填写`AccessKeyID`
|
||||||
- AKSCT: 填写`AccessKeySecret`
|
- AKSCT: 填写`AccessKeySecret`
|
||||||
- DOMAIN: 填写`ddns 域名`
|
- DOMAIN: 填写`ddns 域名`
|
||||||
|
@ -23,14 +38,16 @@ docker run -d \
|
||||||
> 使用二级域名来作为 ddns 域名,例如以下示例使用 ddns.ioiox.com ,需要使用的正式域名添加 CNAME 指向 ddns.ioiox.com 即可.
|
> 使用二级域名来作为 ddns 域名,例如以下示例使用 ddns.ioiox.com ,需要使用的正式域名添加 CNAME 指向 ddns.ioiox.com 即可.
|
||||||
```shell
|
```shell
|
||||||
docker run -d \
|
docker run -d \
|
||||||
-e "AKID=kzazFUTW0uRIWWtk" \
|
--name=ddns-aliyun \
|
||||||
-e "AKSCT=kcbGxOVmc9PUpJWTBWNFNWWnNSbFJW" \
|
--restart=always \
|
||||||
-e "DOMAIN=ddns.ioiox.com" \
|
-e "AKID=kzazFUTW0uRIWWtk" \
|
||||||
-e "REDO=600" \
|
-e "AKSCT=kcbGxOVmc9PUpJWTBWNFNWWnNSbFJW" \
|
||||||
|
-e "DOMAIN=ddns.ioiox.com" \
|
||||||
|
-e "REDO=600" \
|
||||||
stilleshan/ddns-aliyun
|
stilleshan/ddns-aliyun
|
||||||
```
|
```
|
||||||
|
|
||||||
## 参考
|
## 参考
|
||||||
[群晖NAS网络服务 - docker 部署配置阿里云 DDNS 动态域名解析](https://www.ioiox.com/archives/29.html)
|
- GitHub [honwen/aliyun-ddns-cli](https://github.com/honwen/aliyun-ddns-cli)
|
||||||
更多请参考原始仓库 [honwen/aliyun-ddns-cli](https://github.com/honwen/aliyun-ddns-cli)
|
- [群晖NAS网络服务 - docker 部署配置阿里云 DDNS 动态域名解析](https://www.ioiox.com/archives/29.html)
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
ddns-aliyun:
|
||||||
|
image: stilleshan/ddns-aliyun
|
||||||
|
container_name: ddns-aliyun
|
||||||
|
environment:
|
||||||
|
- AKID=AccessKey-ID
|
||||||
|
- AKSCT=AccessKey-Secret
|
||||||
|
- DOMAIN=ddns.yourdomain.com
|
||||||
|
- REDO=600
|
||||||
|
restart: always
|
||||||
|
|
|
@ -4,12 +4,18 @@ GitHub [stilleshan/dockerfiles](https://github.com/stilleshan/dockerfiles)
|
||||||
Docker [stilleshan/ddns-dnspod](https://hub.docker.com/r/stilleshan/ddns-dnspod)
|
Docker [stilleshan/ddns-dnspod](https://hub.docker.com/r/stilleshan/ddns-dnspod)
|
||||||
> *docker image support for X86 and ARM*
|
> *docker image support for X86 and ARM*
|
||||||
|
|
||||||
## 使用
|
## 简介
|
||||||
### docker 启动
|
基于腾讯云 dnspod.cn DDNS 的 docker 镜像.
|
||||||
|
|
||||||
|
## 更新
|
||||||
|
**2021-06-11** 更新 docker 镜像,新增同时支持 X86 和 ARM 架构.
|
||||||
|
|
||||||
|
## 部署
|
||||||
|
### docker
|
||||||
```shell
|
```shell
|
||||||
docker run -d \
|
docker run -d \
|
||||||
|
--name=ddns-dnspod \
|
||||||
--restart=always \
|
--restart=always \
|
||||||
--name=dnspod-ddns \
|
|
||||||
-e "login_token=token_id,token" \
|
-e "login_token=token_id,token" \
|
||||||
-e "domain=domain.com" \
|
-e "domain=domain.com" \
|
||||||
-e "sub_domain=www" \
|
-e "sub_domain=www" \
|
||||||
|
@ -18,7 +24,14 @@ docker run -d \
|
||||||
stilleshan/ddns-dnspod
|
stilleshan/ddns-dnspod
|
||||||
```
|
```
|
||||||
|
|
||||||
- login_token: 填写`dnspod.cn`上申请的`API TOKEN`
|
### docker compose
|
||||||
|
下载 [docker-compose.yml](https://raw.githubusercontent.com/stilleshan/dockerfiles/main/ddns-dnspod/docker-compose.yml) 执行以下命令启动:
|
||||||
|
```shell
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
### 配置
|
||||||
|
- login_token: 填写`dnspod.cn`申请的`API TOKEN`
|
||||||
- domain: 填写`根域名`
|
- domain: 填写`根域名`
|
||||||
- sub_domain: 填写`子域名`
|
- sub_domain: 填写`子域名`
|
||||||
|
|
||||||
|
@ -26,8 +39,8 @@ docker run -d \
|
||||||
> 使用二级域名来作为 ddns 域名,例如以下示例使用 ddns.ioiox.com ,需要使用的正式域名添加 CNAME 指向 ddns.ioiox.com 即可.
|
> 使用二级域名来作为 ddns 域名,例如以下示例使用 ddns.ioiox.com ,需要使用的正式域名添加 CNAME 指向 ddns.ioiox.com 即可.
|
||||||
```shell
|
```shell
|
||||||
docker run -d \
|
docker run -d \
|
||||||
|
--name=ddns-dnspod \
|
||||||
--restart=always \
|
--restart=always \
|
||||||
--name=dnspod-ddns \
|
|
||||||
-e "login_token=123456,5MTlmZRFZrWkdFMVTU2VFE9PX" \
|
-e "login_token=123456,5MTlmZRFZrWkdFMVTU2VFE9PX" \
|
||||||
-e "domain=ioiox.com" \
|
-e "domain=ioiox.com" \
|
||||||
-e "sub_domain=ddns" \
|
-e "sub_domain=ddns" \
|
||||||
|
@ -37,6 +50,6 @@ docker run -d \
|
||||||
```
|
```
|
||||||
|
|
||||||
## 参考
|
## 参考
|
||||||
[群晖NAS网络服务 - docker 部署配置腾讯云 DNSPod DDNS 动态域名解析](https://www.ioiox.com/archives/112.html)
|
- GitHub [strahe/dnspod-ddns](https://github.com/strahe/dnspod-ddns)
|
||||||
更多请参考原始仓库 [strahe/dnspod-ddns](https://github.com/strahe/dnspod-ddns)
|
- [群晖NAS网络服务 - docker 部署配置腾讯云 DNSPod DDNS 动态域名解析](https://www.ioiox.com/archives/112.html)
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
ddns-dnspod:
|
||||||
|
image: stilleshan/ddns-dnspod
|
||||||
|
container_name: ddns-dnspod
|
||||||
|
environment:
|
||||||
|
- login_token=token_id,token
|
||||||
|
- domain=domain.com
|
||||||
|
- sub_domain=www
|
||||||
|
- interval=10
|
||||||
|
- ip_count=1
|
||||||
|
restart: always
|
||||||
|
|
|
@ -4,6 +4,24 @@ GitHub [stilleshan/dockerfiles](https://github.com/stilleshan/dockerfiles)
|
||||||
Docker [stilleshan/ga-proxy](https://hub.docker.com/r/stilleshan/ga-proxy)
|
Docker [stilleshan/ga-proxy](https://hub.docker.com/r/stilleshan/ga-proxy)
|
||||||
> *docker image support for X86 and ARM*
|
> *docker image support for X86 and ARM*
|
||||||
|
|
||||||
## 使用
|
## 简介
|
||||||
本仓库参考 [giuem/ga-proxy](https://github.com/giuem/ga-proxy) 构建 X86 和 ARM 平台 docker 镜像,具体使用教程请参考原作者仓库.
|
基于 [giuem/ga-proxy](https://github.com/giuem/ga-proxy) 项目的 docker 镜像.
|
||||||
|
|
||||||
|
## 更新
|
||||||
|
**2021-06-09** 更新`1.2.0`版 docker 镜像,新增同时支持 X86 和 ARM 架构.
|
||||||
|
|
||||||
|
## 部署
|
||||||
|
### docker
|
||||||
|
```shell
|
||||||
|
docker run -d --name=ga-proxy --restart=always -p 12345:80 stilleshan/ga-proxy
|
||||||
|
```
|
||||||
|
|
||||||
|
### docker compose
|
||||||
|
下载 [docker-compose.yml](https://raw.githubusercontent.com/stilleshan/dockerfiles/main/ga-proxy/docker-compose.yml) 执行以下命令启动:
|
||||||
|
```shell
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
## 参考
|
||||||
|
GitHub [giuem/ga-proxy](https://github.com/giuem/ga-proxy)
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
version: "3.3"
|
version: "3.3"
|
||||||
services:
|
services:
|
||||||
proxy:
|
ga-proxy:
|
||||||
image: giuem/ga-proxy
|
image: stilleshan/ga-proxy
|
||||||
|
container_name: ga-proxy
|
||||||
|
ports:
|
||||||
|
- 12345:80
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
|
||||||
- 9080:80
|
|
||||||
|
|
|
@ -4,8 +4,23 @@ GitHub [stilleshan/dockerfiles](https://github.com/stilleshan/dockerfiles)
|
||||||
Docker [stilleshan/gh-proxy](https://hub.docker.com/r/stilleshan/gh-proxy)
|
Docker [stilleshan/gh-proxy](https://hub.docker.com/r/stilleshan/gh-proxy)
|
||||||
> *docker image support for X86 and ARM*
|
> *docker image support for X86 and ARM*
|
||||||
|
|
||||||
## 使用
|
## 简介
|
||||||
本仓库参考 [hunshcn/gh-proxy](https://github.com/hunshcn/gh-proxy) 构建 X86 和 ARM 平台 docker 镜像,具体使用教程请参考原作者仓库.
|
基于 [hunshcn/gh-proxy](https://github.com/hunshcn/gh-proxy) 项目的 docker 镜像.
|
||||||
|
|
||||||
|
## 更新
|
||||||
|
**2021-06-09** 更新`2.1`版 docker 镜像,新增同时支持 X86 和 ARM 架构.
|
||||||
|
|
||||||
|
## 部署
|
||||||
|
### docker
|
||||||
|
```shell
|
||||||
|
docker run -d --name=gh-proxy --restart=always -p 12345:80 stilleshan/gh-proxy
|
||||||
|
```
|
||||||
|
|
||||||
|
### docker compose
|
||||||
|
下载 [docker-compose.yml](https://raw.githubusercontent.com/stilleshan/dockerfiles/main/gh-proxy/docker-compose.yml) 执行以下命令启动:
|
||||||
|
```shell
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
## 参考
|
## 参考
|
||||||
[ghproxy.com](https://ghproxy.com)
|
[ghproxy.com](https://ghproxy.com)
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
gh-proxy:
|
||||||
|
image: stilleshan/gh-proxy
|
||||||
|
container_name: gh-proxy
|
||||||
|
ports:
|
||||||
|
- 12345:80
|
||||||
|
restart: always
|
||||||
|
|
|
@ -4,32 +4,40 @@ GitHub [stilleshan/dockerfiles](https://github.com/stilleshan/dockerfiles)
|
||||||
Docker [stilleshan/goproxy](https://hub.docker.com/r/stilleshan/goproxy)
|
Docker [stilleshan/goproxy](https://hub.docker.com/r/stilleshan/goproxy)
|
||||||
> *docker image support for X86 and ARM*
|
> *docker image support for X86 and ARM*
|
||||||
|
|
||||||
## docker 启动
|
## 简介
|
||||||
### 单个代理服务
|
基于 [snail007/goproxy](https://github.com/snail007/goproxy) 项目的 docker 镜像.
|
||||||
启动一个端口为`11111`的 http 代理
|
|
||||||
|
## 更新
|
||||||
|
**2021-06-09** 更新`10.7`版 docker 镜像,新增同时支持 X86 和 ARM 架构.
|
||||||
|
|
||||||
|
## 部署
|
||||||
|
### docker
|
||||||
|
#### 单个代理服务
|
||||||
|
启动一个端口为`11111`的 **http** 代理
|
||||||
```shell
|
```shell
|
||||||
docker run -d --name goproxy --restart always --network host stilleshan/goproxy /proxy http -p :11111
|
docker run -d --name=goproxy --restart=always --network=host stilleshan/goproxy /proxy http -p :11111
|
||||||
```
|
```
|
||||||
|
|
||||||
启动一个端口为`22222`的 socks5 代理
|
启动一个端口为`22222`的 **socks5** 代理
|
||||||
```shell
|
```shell
|
||||||
docker run -d --name goproxy --restart always --network host stilleshan/goproxy /proxy socks -p :22222
|
docker run -d --name=goproxy --restart=always --network=host stilleshan/goproxy /proxy socks -p :22222
|
||||||
```
|
```
|
||||||
|
|
||||||
### 多个代理服务
|
#### 多个代理服务
|
||||||
单个容器同时启动`http`和`socks5`代理
|
单个容器同时启动 **http** 和 **socks5** 代理
|
||||||
```shell
|
```shell
|
||||||
docker run -d --name goproxy --restart always --network host stilleshan/goproxy sh -c '/proxy http -p :11111 & /proxy socks -p :22222'
|
docker run -d --name=goproxy --restart=always --network=host stilleshan/goproxy sh -c '/proxy http -p :11111 & /proxy socks -p :22222'
|
||||||
```
|
```
|
||||||
> *更多服务参考 [snail007/goproxy](https://github.com/snail007/goproxy) 自行添加命令,每项服务命令之间使用 **&** 符号分隔,最后一项服务命令末尾无需 **&** 符号.*
|
> *自行添加命令,每项服务命令之间使用 **&** 符号分隔,最后一项服务命令末尾无需 **&** 符号.*
|
||||||
|
|
||||||
## docker compose 启动
|
### docker compose
|
||||||
下载 [docker-compose.yml](https://raw.githubusercontent.com/stilleshan/dockerfiles/main/goproxy/docker-compose.yml) 执行以下命令启动:
|
下载 [docker-compose.yml](https://raw.githubusercontent.com/stilleshan/dockerfiles/main/goproxy/docker-compose.yml) 执行以下命令启动:
|
||||||
```shell
|
```shell
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
> *更多服务参考 [snail007/goproxy](https://github.com/snail007/goproxy) 自行添加命令,每项服务命令之间使用 **&** 符号分隔,最后一项服务命令末尾无需 **&** 符号.*
|
> *自行添加命令,每项服务命令之间使用 **&** 符号分隔,最后一项服务命令末尾无需 **&** 符号.*
|
||||||
|
|
||||||
## 参考
|
## 参考
|
||||||
[轻量级高性能 HTTP/HTTPS SOCKS5 代理软件 goproxy docker 部署教程](https://www.ioiox.com/archives/131.html)
|
- GitHub [snail007/goproxy](https://github.com/snail007/goproxy)
|
||||||
|
- [轻量级高性能 HTTP/HTTPS SOCKS5 代理软件 goproxy docker 部署教程](https://www.ioiox.com/archives/131.html)
|
||||||
|
|
||||||
|
|
|
@ -11,3 +11,4 @@ services:
|
||||||
- |
|
- |
|
||||||
/proxy http -p :11111 &
|
/proxy http -p :11111 &
|
||||||
/proxy socks -p :22222
|
/proxy socks -p :22222
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
FROM alpine:latest AS builder
|
FROM alpine:latest AS builder
|
||||||
|
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
ENV VERSION 20210529
|
ENV VERSION 2021-06-13
|
||||||
|
|
||||||
RUN apk add --no-cache git make build-base && \
|
RUN apk add --no-cache git make build-base && \
|
||||||
git clone --branch master --single-branch https://github.com/Wind4/vlmcsd.git && \
|
git clone --branch master --single-branch https://github.com/Wind4/vlmcsd.git && \
|
||||||
|
|
|
@ -4,11 +4,26 @@ GitHub [stilleshan/dockerfiles](https://github.com/stilleshan/dockerfiles)
|
||||||
Docker [stilleshan/kms](https://hub.docker.com/r/stilleshan/kms)
|
Docker [stilleshan/kms](https://hub.docker.com/r/stilleshan/kms)
|
||||||
> *docker image support for X86 and ARM*
|
> *docker image support for X86 and ARM*
|
||||||
|
|
||||||
## docker 启动
|
## 简介
|
||||||
|
基于 KMS 项目的 docker 镜像.
|
||||||
|
|
||||||
|
## 更新
|
||||||
|
**2021-06-13** 更新 docker 镜像,新增同时支持 X86 和 ARM 架构.
|
||||||
|
|
||||||
|
## 部署
|
||||||
|
### docker
|
||||||
```shell
|
```shell
|
||||||
docker run -d --name kms --restart always -p 1688:1688 stilleshan/kms
|
docker run -d --name=kms --restart=always -p 1688:1688 stilleshan/kms
|
||||||
```
|
```
|
||||||
|
|
||||||
**注意:** 需开放防火墙`1688`端口
|
### docker compose
|
||||||
|
下载 [docker-compose.yml](https://raw.githubusercontent.com/stilleshan/dockerfiles/main/kms/docker-compose.yml) 执行以下命令启动:
|
||||||
|
```shell
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
> **注意:** 需开放防火墙`1688`端口
|
||||||
|
|
||||||
|
## 参考
|
||||||
|
[Windows 与 Office 的下载安装及使用 KMS 密钥管理服务激活](https://www.ioiox.com/archives/107.html)
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
kms:
|
||||||
|
image: stilleshan/kms
|
||||||
|
container_name: kms
|
||||||
|
ports:
|
||||||
|
- 1688:1688
|
||||||
|
restart: always
|
||||||
|
|
|
@ -4,6 +4,32 @@ GitHub [stilleshan/dockerfiles](https://github.com/stilleshan/dockerfiles)
|
||||||
Docker [stilleshan/ocserv](https://hub.docker.com/r/stilleshan/ocserv)
|
Docker [stilleshan/ocserv](https://hub.docker.com/r/stilleshan/ocserv)
|
||||||
> *docker image support for X86 and ARM*
|
> *docker image support for X86 and ARM*
|
||||||
|
|
||||||
## 使用
|
## 简介
|
||||||
本仓库参考 [aminvakil/docker-ocserv](https://github.com/aminvakil/docker-ocserv) 构建 X86 和 ARM 平台 docker 镜像,具体使用教程请参考原作者仓库.
|
基于 [openconnect/ocserv](https://github.com/openconnect/ocserv) 项目的 docker 镜像.
|
||||||
|
|
||||||
|
## 更新
|
||||||
|
**2021-06-09** 更新`1.1.2`版 docker 镜像,新增同时支持 X86 和 ARM 架构.
|
||||||
|
|
||||||
|
## 部署
|
||||||
|
### docker
|
||||||
|
```shell
|
||||||
|
docker run -d \
|
||||||
|
--name=ocserv \
|
||||||
|
--restart=always \
|
||||||
|
--sysctl=net.ipv4.ip_forward=1 \
|
||||||
|
--cap-add=NET_ADMIN \
|
||||||
|
--security-opt=no-new-privileges \
|
||||||
|
-p 443:443 \
|
||||||
|
-p 443:443/udp \
|
||||||
|
stilleshan/ocserv
|
||||||
|
```
|
||||||
|
|
||||||
|
### docker compose
|
||||||
|
下载 [docker-compose.yml](https://raw.githubusercontent.com/stilleshan/dockerfiles/main/ocserv/docker-compose.yml) 执行以下命令启动:
|
||||||
|
```shell
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
## 参考
|
||||||
|
GitHub [aminvakil/docker-ocserv](https://github.com/aminvakil/docker-ocserv)
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,8 @@ services:
|
||||||
container_name: ocserv
|
container_name: ocserv
|
||||||
# hostname: www.example.com
|
# hostname: www.example.com
|
||||||
ports:
|
ports:
|
||||||
- 44443:443
|
- 443:443
|
||||||
- 44443:443/udp
|
- 443:443/udp
|
||||||
# volumes:
|
# volumes:
|
||||||
# - ./ocpasswd:/etc/ocserv/ocpasswd
|
# - ./ocpasswd:/etc/ocserv/ocpasswd
|
||||||
# - ./ocserv.conf:/etc/ocserv/ocserv.conf
|
# - ./ocserv.conf:/etc/ocserv/ocserv.conf
|
||||||
|
@ -17,3 +17,4 @@ services:
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges
|
- no-new-privileges
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
|
|
|
@ -19,4 +19,3 @@ COPY --from=builder /usr/local/ServerStatus/web /usr/share/nginx/html/
|
||||||
EXPOSE 80 35601
|
EXPOSE 80 35601
|
||||||
|
|
||||||
CMD nohup sh -c '/etc/init.d/nginx start && /ServerStatus/server/sergate --config=/ServerStatus/server/config.json --web-dir=/usr/share/nginx/html'
|
CMD nohup sh -c '/etc/init.d/nginx start && /ServerStatus/server/sergate --config=/ServerStatus/server/config.json --web-dir=/usr/share/nginx/html'
|
||||||
|
|
||||||
|
|
|
@ -5,56 +5,17 @@ Docker [stilleshan/serverstatus](https://hub.docker.com/r/stilleshan/serverstatu
|
||||||
> *docker image support for X86 and ARM*
|
> *docker image support for X86 and ARM*
|
||||||
|
|
||||||
## 简介
|
## 简介
|
||||||
ServerStatus 在 GitHub 上已经有各种版本,本项目是基于 [ToyoDAdoubi/ServerStatus-Toyo](https://github.com/ToyoDAdoubi/ServerStatus-Toyo) 一键脚本项目,并整合网友制作的[美化主题](https://www.hostloc.com/thread-494384-1-1.html),打包为 docker 镜像,方便一键安装和迁移.
|
基于 [ToyoDAdoubi/ServerStatus-Toyo](https://github.com/ToyoDAdoubi/ServerStatus-Toyo) 一键脚本项目,并整合网友制作的 [美化主题](https://www.hostloc.com/thread-494384-1-1.html) 的 docker 镜像.
|
||||||
> *docker image support for X86 and ARM*
|
> *docker image support for X86 and ARM*
|
||||||
|
|
||||||
![screenshot](./screenshot.jpg)
|
![screenshot](./screenshot.jpg)
|
||||||
|
|
||||||
## 更新
|
## 更新
|
||||||
**2021-06-06** 更新 docker 镜像同时支持 X86 和 ARM
|
**2021-06-06** 更新`2.0`版 docker 镜像,新增同时支持 X86 和 ARM 架构.
|
||||||
|
|
||||||
## 部署
|
## 部署
|
||||||
### 创建配置文件
|
具体部署及使用教程参考: [stilleshan/ServerStatus](https://github.com/stilleshan/ServerStatus)
|
||||||
推荐直接 **git clone** 本仓库到服务器 **/root** 目录内.或者手动下载仓库中的 **config.json** 至 **/root/ServerStatus/** 目录内.
|
|
||||||
```shell
|
|
||||||
cd /root
|
|
||||||
git clone https://github.com/stilleshan/ServerStatus.git
|
|
||||||
```
|
|
||||||
|
|
||||||
### 启动容器
|
## 参考
|
||||||
示例 **8888** 端口为 Web 访问端口, **35601** 为客户端通信端口,根据需求自行修改映射端口.注意防火墙需放行此端口.
|
GitHub [stilleshan/ServerStatus](https://github.com/stilleshan/ServerStatus)
|
||||||
```shell
|
|
||||||
docker run -d --name=serverstatus --restart=always -p 8888:80 -p 35601:35601 -v ~/ServerStatus/config.json:/ServerStatus/server/config.json stilleshan/serverstatus
|
|
||||||
```
|
|
||||||
|
|
||||||
### 访问地址
|
|
||||||
```
|
|
||||||
http://服务器IP:8888
|
|
||||||
```
|
|
||||||
> 使用域名和 HTTPS 协议可配置 Nginx 反向代理
|
|
||||||
|
|
||||||
|
|
||||||
### 配置
|
|
||||||
**config.json** 为服务器端配置文件,默认已经添加示例配置,可以根据示例格式修改,删除或者增加服务器.修改完毕后重启容器.
|
|
||||||
```shell
|
|
||||||
docker restart serverstatus
|
|
||||||
```
|
|
||||||
|
|
||||||
### 自定义前端页面
|
|
||||||
上述默认启动命令没有挂载 web 目录,如需自定义修改前端页面,需 **git clone** 本仓库到服务器 **/root** 目录内,执行以下命令挂载 web 目录.
|
|
||||||
```shell
|
|
||||||
docker run -d --name=serverstatus --restart=always -p 8888:80 -p 35601:35601 -v ~/ServerStatus/config.json:/ServerStatus/server/config.json -v ~/ServerStatus/web:/usr/share/nginx/html stilleshan/serverstatus
|
|
||||||
```
|
|
||||||
|
|
||||||
### 客户端
|
|
||||||
客户端需获取客户端服务器的运行情况,建议使用一键脚本安装.可参考图文教程: [服务器安装ServerStatus监控探针教程](https://www.ioiox.com/archives/27.html)
|
|
||||||
```shell
|
|
||||||
wget -N --no-check-certificate https://raw.githubusercontent.com/stilleshan/ServerStatus/master/status.sh && chmod +x status.sh && bash status.sh c
|
|
||||||
```
|
|
||||||
|
|
||||||
## 相关链接
|
|
||||||
- GitHub [stilleshan/ServerStatus](https://github.com/stilleshan/ServerStatus)
|
|
||||||
- Docker [stilleshan/serverstatus](https://hub.docker.com/r/stilleshan/serverstatus)
|
|
||||||
- 原版项目Github [ToyoDAdoubi/ServerStatus-Toyo](https://github.com/ToyoDAdoubi/ServerStatus-Toyo)
|
|
||||||
- Dockerfile参考 [cppla/ServerStatus](https://github.com/cppla/ServerStatus)
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ Docker [stilleshan/subconverter](https://hub.docker.com/r/stilleshan/subconverte
|
||||||
> *docker image support for X86 and ARM*
|
> *docker image support for X86 and ARM*
|
||||||
|
|
||||||
## 简介
|
## 简介
|
||||||
subconverter 是基于原版 [[tindy2013/subconverter]](https://github.com/tindy2013/subconverter) 项目的修改版本.仅修改 **分组配置文件** 以解决以下问题.相关使用方法请参考官方项目.
|
基于 [tindy2013/subconverter](https://github.com/tindy2013/subconverter) 项目的 docker 镜像.仅修改 **分组配置文件** 以解决以下问题.
|
||||||
|
|
||||||
- **增加**`Netflix`分组
|
- **增加**`Netflix`分组
|
||||||
- **去除**`自动选择 url-test`以解决连接数爆涨问题.
|
- **去除**`自动选择 url-test`以解决连接数爆涨问题.
|
||||||
|
@ -13,21 +13,27 @@ subconverter 是基于原版 [[tindy2013/subconverter]](https://github.com/tindy
|
||||||
- **修改时区** 镜像默认时区为 Asia/Shanghai
|
- **修改时区** 镜像默认时区为 Asia/Shanghai
|
||||||
|
|
||||||
## 更新
|
## 更新
|
||||||
**2021-05-29** 更新 v0.6.4 版 docker 镜像同时支持 X86 和 ARM
|
**2021-06-09** 更新`v0.6.4`版 docker 镜像,新增同时支持 X86 和 ARM 架构.
|
||||||
|
|
||||||
## 部署
|
## 部署
|
||||||
### docker 部署
|
### docker
|
||||||
```shell
|
```shell
|
||||||
docker run -d --name=subconverter --restart=always -p 25500:25500 stilleshan/subconverter
|
docker run -d --name=subconverter --restart=always -p 25500:25500 stilleshan/subconverter
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### docker compose
|
||||||
|
下载 [docker-compose.yml](https://raw.githubusercontent.com/stilleshan/dockerfiles/main/subconverter/docker-compose.yml) 执行以下命令启动:
|
||||||
|
```shell
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## 使用
|
## 使用
|
||||||
### 网友分享的订阅转换地址
|
### 网友分享的订阅转换地址
|
||||||
```shell
|
> https://sub.ops.ci
|
||||||
https://sub.ops.ci
|
|
||||||
https://subto.herokuapp.com
|
https://subto.herokuapp.com
|
||||||
```
|
|
||||||
更多使用教程请参考 [[tindy2013/subconverter]](https://github.com/tindy2013/subconverter) 官方项目
|
|
||||||
|
## 参考
|
||||||
|
GitHub [tindy2013/subconverter](https://github.com/tindy2013/subconverter)
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
subconverter:
|
||||||
|
image: stilleshan/subconverter
|
||||||
|
container_name: subconverter
|
||||||
|
ports:
|
||||||
|
- 25500:25500
|
||||||
|
restart: always
|
||||||
|
|
|
@ -4,33 +4,40 @@ GitHub [stilleshan/dockerfiles](https://github.com/stilleshan/dockerfiles)
|
||||||
Docker [stilleshan/tinyproxy](https://hub.docker.com/r/stilleshan/tinyproxy)
|
Docker [stilleshan/tinyproxy](https://hub.docker.com/r/stilleshan/tinyproxy)
|
||||||
> *docker image support for X86 and ARM*
|
> *docker image support for X86 and ARM*
|
||||||
|
|
||||||
## docker 启动
|
## 简介
|
||||||
|
基于 [tinyproxy/tinyproxy](https://github.com/tinyproxy/tinyproxy) 项目的 docker 镜像.
|
||||||
|
|
||||||
|
## 更新
|
||||||
|
**2021-06-09** 更新`1.10.0`版 docker 镜像,新增同时支持 X86 和 ARM 架构.
|
||||||
|
|
||||||
|
## 部署
|
||||||
|
### docker
|
||||||
```shell
|
```shell
|
||||||
docker run -d --name tinyproxy --restart always -p 8888:8888 stilleshan/tinyproxy
|
docker run -d --name=tinyproxy --restart=always -p 8888:8888 stilleshan/tinyproxy
|
||||||
```
|
```
|
||||||
|
|
||||||
## docker compose 启动
|
### docker compose
|
||||||
下载 [docker-compose.yml](https://raw.githubusercontent.com/stilleshan/dockerfiles/main/tinyproxy/docker-compose.yml) 执行以下命令启动:
|
下载 [docker-compose.yml](https://raw.githubusercontent.com/stilleshan/dockerfiles/main/tinyproxy/docker-compose.yml) 执行以下命令启动:
|
||||||
```shell
|
```shell
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
## 使用示例
|
## 使用
|
||||||
```shell
|
```shell
|
||||||
curl -x https://IP:8888 https://ifconfig.co
|
curl -x https://IP:8888 https://ifconfig.co
|
||||||
```
|
```
|
||||||
|
|
||||||
## BasicAuth
|
### BasicAuth
|
||||||
Tinyproxy 支持 BasicAuth 身份验证,需启动一次容器并执行以下命令将`tinyproxy.conf`拷贝至宿主机,并删除该容器.
|
Tinyproxy 支持 BasicAuth 身份验证,需启动一次容器并执行以下命令将`tinyproxy.conf`拷贝至宿主机,并删除该容器.
|
||||||
```shell
|
```shell
|
||||||
docker cp tinyproxy:/etc/tinyproxy/tinyproxy.conf .
|
docker cp tinyproxy:/etc/tinyproxy/tinyproxy.conf .
|
||||||
```
|
```
|
||||||
配置`BasicAuth user password`参数并将`tinyproxy.conf`挂载至`/etc/tinyproxy/tinyproxy.conf`后再次启动容器.
|
配置`BasicAuth user password`参数并将`tinyproxy.conf`挂载至`/etc/tinyproxy/tinyproxy.conf`后再次启动容器.
|
||||||
```shell
|
```shell
|
||||||
docker run -d --name tinyproxy --restart always -p 8888:8888 -v /path/tinyproxy.conf:/etc/tinyproxy/tinyproxy.conf stilleshan/tinyproxy
|
docker run -d --name=tinyproxy --restart=always -p 8888:8888 -v /path/tinyproxy.conf:/etc/tinyproxy/tinyproxy.conf stilleshan/tinyproxy
|
||||||
```
|
```
|
||||||
|
|
||||||
### 使用示例
|
### BasicAuth 示例
|
||||||
```shell
|
```shell
|
||||||
curl -x https://user:password@IP:8888 https://ifconfig.co
|
curl -x https://user:password@IP:8888 https://ifconfig.co
|
||||||
```
|
```
|
||||||
|
|
|
@ -8,3 +8,4 @@ services:
|
||||||
# volumes:
|
# volumes:
|
||||||
# - ./tinyproxy.conf:/etc/tinyproxy/tinyproxy.conf
|
# - ./tinyproxy.conf:/etc/tinyproxy/tinyproxy.conf
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,12 @@ GitHub [stilleshan/dockerfiles](https://github.com/stilleshan/dockerfiles)
|
||||||
Docker [stilleshan/uwsgi-nginx](https://hub.docker.com/r/stilleshan/uwsgi-nginx)
|
Docker [stilleshan/uwsgi-nginx](https://hub.docker.com/r/stilleshan/uwsgi-nginx)
|
||||||
> *docker image support for X86 and ARM*
|
> *docker image support for X86 and ARM*
|
||||||
|
|
||||||
## 使用
|
## 简介
|
||||||
本仓库参考 [tiangolo/uwsgi-nginx-docker](https://github.com/tiangolo/uwsgi-nginx-docker) 构建 X86 和 ARM 平台 docker 镜像,具体使用教程请参考原作者仓库.
|
基于 uwsgi 和 nginx 环境的 docker 镜像.
|
||||||
|
|
||||||
|
## 更新
|
||||||
|
**2021-06-09** 更新`python3.7`版 docker 镜像,新增同时支持 X86 和 ARM 架构.
|
||||||
|
|
||||||
|
## 参考
|
||||||
|
GitHub [tiangolo/uwsgi-nginx-docker](https://github.com/tiangolo/uwsgi-nginx-docker)
|
||||||
|
|
||||||
|
|
|
@ -4,21 +4,28 @@ GitHub [stilleshan/dockerfiles](https://github.com/stilleshan/dockerfiles)
|
||||||
Docker [stilleshan/v2-ui](https://hub.docker.com/r/stilleshan/v2-ui)
|
Docker [stilleshan/v2-ui](https://hub.docker.com/r/stilleshan/v2-ui)
|
||||||
> *docker image support for X86 and ARM*
|
> *docker image support for X86 and ARM*
|
||||||
|
|
||||||
## docker 启动
|
## 简介
|
||||||
|
基于 [sprov065/v2-ui](https://github.com/sprov065/v2-ui) 项目的 docker 镜像.
|
||||||
|
|
||||||
|
## 更新
|
||||||
|
**2021-06-13** 更新`5.5.2`版 docker 镜像,新增同时支持 X86 和 ARM 架构.
|
||||||
|
|
||||||
|
## 部署
|
||||||
|
### docker
|
||||||
```shell
|
```shell
|
||||||
docker run -d --name v2-ui --restart always --network host stilleshan/v2-ui
|
docker run -d --name=v2-ui --restart=always --network=host stilleshan/v2-ui
|
||||||
```
|
```
|
||||||
|
|
||||||
## docker compose 启动
|
### docker compose
|
||||||
下载 [docker-compose.yml](https://raw.githubusercontent.com/stilleshan/dockerfiles/main/v2-ui/docker-compose.yml) 执行以下命令启动:
|
下载 [docker-compose.yml](https://raw.githubusercontent.com/stilleshan/dockerfiles/main/v2-ui/docker-compose.yml) 执行以下命令启动:
|
||||||
```shell
|
```shell
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
## 挂载目录
|
### 挂载
|
||||||
为方便迁移和数据保存,需将容器内`/etc/v2-ui/v2-ui.db`文件拷贝至宿主机存储,该文件存储所有面板数据及账号信息,并再挂载至容器内.同时创建`ssl`目录,上传证书文件并挂载至容器内使用.
|
为方便数据备份和迁移,需将容器内`/etc/v2-ui/v2-ui.db`文件拷贝至宿主机存储,该文件存储所有面板数据及账号信息.并再挂载至容器内.同时创建`ssl`目录,上传证书文件挂载至容器内使用.
|
||||||
> **注意:** 挂载 ssl 证书后,在 v2-ui 面板中创建账号使用证书的路径为 /ssl/yourdomain.crt .
|
> **注意:** 挂载 ssl 证书后,在 v2-ui 面板中创建账号使用证书的路径为 /ssl/yourdomain.crt .
|
||||||
### docker
|
#### docker
|
||||||
通过上文首次执行`docker run`启动容器后:
|
通过上文首次执行`docker run`启动容器后:
|
||||||
```shell
|
```shell
|
||||||
docker cp v2-ui:/etc/v2-ui/v2-ui.db .
|
docker cp v2-ui:/etc/v2-ui/v2-ui.db .
|
||||||
|
@ -31,10 +38,10 @@ docker rm v2-ui
|
||||||
创建`ssl`目录并上传证书.
|
创建`ssl`目录并上传证书.
|
||||||
修改以下命令中挂载路径,启动使用:
|
修改以下命令中挂载路径,启动使用:
|
||||||
```shell
|
```shell
|
||||||
docker run -d --name v2-ui --restart always --network host -v /your_path/v2-ui.db:/etc/v2-ui/v2-ui.db -v /your_path/ssl:/ssl stilleshan/v2-ui
|
docker run -d --name=v2-ui --restart=always --network=host -v /your_path/v2-ui.db:/etc/v2-ui/v2-ui.db -v /your_path/ssl:/ssl stilleshan/v2-ui
|
||||||
```
|
```
|
||||||
|
|
||||||
### docker-compose
|
#### docker-compose
|
||||||
通过上文首次执行`docker-compose up -d`启动容器后:
|
通过上文首次执行`docker-compose up -d`启动容器后:
|
||||||
```shell
|
```shell
|
||||||
docker cp v2-ui:/etc/v2-ui/v2-ui.db .
|
docker cp v2-ui:/etc/v2-ui/v2-ui.db .
|
||||||
|
@ -63,6 +70,8 @@ docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
## 使用
|
## 使用
|
||||||
访问`http://服务器IP:65432`使用账号`admin`密码`admin`登录.注意需开放相关端口防火墙,并及时修改账号密码.
|
访问`http://服务器IP:65432`使用账号`admin`密码`admin`登录.注意需开放相关端口防火墙,并及时修改账号密码.
|
||||||
更多使用信息请参考原作者仓库 [sprov065/v2-ui](https://github.com/sprov065/v2-ui)
|
|
||||||
|
## 参考
|
||||||
|
GitHub [sprov065/v2-ui](https://github.com/sprov065/v2-ui)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
FROM php:7.0-apache
|
FROM php:7.0-apache
|
||||||
MAINTAINER Alex Marston <alexander.marston@gmail.com>
|
MAINTAINER Alex Marston <alexander.marston@gmail.com>
|
||||||
|
|
||||||
ENV VERSION 1.0
|
ENV VERSION 2021-06-13
|
||||||
# Install Git
|
# Install Git
|
||||||
RUN apt-get update && apt-get install -y git unzip
|
RUN apt-get update && apt-get install -y git unzip
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,34 @@ GitHub [stilleshan/dockerfiles](https://github.com/stilleshan/dockerfiles)
|
||||||
Docker [stilleshan/vnstat-dashboard](https://hub.docker.com/r/stilleshan/vnstat-dashboard)
|
Docker [stilleshan/vnstat-dashboard](https://hub.docker.com/r/stilleshan/vnstat-dashboard)
|
||||||
> *docker image support for X86 and ARM*
|
> *docker image support for X86 and ARM*
|
||||||
|
|
||||||
## 使用
|
## 简介
|
||||||
本仓库参考 [tomangert/vnstat-dashboard](https://github.com/tomangert/vnstat-dashboard) 对原作者仓库 [alexandermarston/vnstat-dashboard](https://github.com/alexandermarston/vnstat-dashboard) 进行部分 bug 修复后构建 X86 和 ARM 平台 docker 镜像,具体使用教程请参考原作者仓库.
|
基于 [vnStat](https://humdi.net/vnstat/) 网络流量监控软件前端面板项目的 docker 镜像.
|
||||||
|
|
||||||
|
## 更新
|
||||||
|
**2021-06-11** 更新 docker 镜像,新增同时支持 X86 和 ARM 架构.
|
||||||
|
|
||||||
|
## 部署
|
||||||
|
### docker
|
||||||
|
需要服务器已安装`vnStat`软件,详情访问 [vnStat](https://humdi.net/vnstat/) 或 [vergoh/vnstat](https://github.com/vergoh/vnstat) .
|
||||||
|
```shell
|
||||||
|
docker run -d \
|
||||||
|
--name=vnstat-dashboard \
|
||||||
|
--restart=always \
|
||||||
|
-p 12345:80 \
|
||||||
|
-v /usr/bin/vnstat:/usr/bin/vnstat \
|
||||||
|
-v /var/lib/vnstat:/var/lib/vnstat \
|
||||||
|
-e TZ=Asia/Shanghai \
|
||||||
|
stilleshan/vnstat-dashboard
|
||||||
|
```
|
||||||
|
|
||||||
|
### docker compose
|
||||||
|
下载 [docker-compose.yml](https://raw.githubusercontent.com/stilleshan/dockerfiles/main/vnstat-dashboard/docker-compose.yml) 执行以下命令启动:
|
||||||
|
```shell
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
## 参考
|
||||||
|
参考以下项目修复 bug 重新构建:
|
||||||
|
- GitHub [tomangert/vnstat-dashboard](https://github.com/tomangert/vnstat-dashboard)
|
||||||
|
- GitHub [alexandermarston/vnstat-dashboard](https://github.com/alexandermarston/vnstat-dashboard)
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,15 @@
|
||||||
version: '3'
|
version: '3.2'
|
||||||
services:
|
services:
|
||||||
vnstat-dashboard:
|
vnstat-dashboard:
|
||||||
build: .
|
image: stilleshan/vnstat-dashboard
|
||||||
network_mode: "host"
|
|
||||||
container_name: vnstat-dashboard
|
container_name: vnstat-dashboard
|
||||||
volumes:
|
volumes:
|
||||||
- /var/lib/vnstat:/var/lib/vnstat
|
- /usr/bin/vnstat:/usr/bin/vnstat
|
||||||
- /usr/bin/vnstat:/usr/local/bin/vnstat
|
- /var/lib/vnstat:/var/lib/vnstat
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
ports:
|
||||||
|
- 12345:80
|
||||||
|
environment:
|
||||||
|
TZ: Asia/Shanghai
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
|
|
@ -5,31 +5,33 @@ Docker [stilleshan/zfile](https://hub.docker.com/r/stilleshan/zfile)
|
||||||
> *docker image support for X86 and ARM*
|
> *docker image support for X86 and ARM*
|
||||||
|
|
||||||
## 简介
|
## 简介
|
||||||
基于 [zhaojun1998/zfile](https://github.com/zhaojun1998/zfile) 项目的 docker 镜像.支持挂载目录持久化存储,方便使用,管理和迁移.
|
基于 [zhaojun1998/zfile](https://github.com/zhaojun1998/zfile) 项目的 docker 镜像.
|
||||||
|
|
||||||
## 更新
|
## 更新
|
||||||
**2021-06-11** 更新 3.1 版 docker 镜像同时支持 X86 和 ARM
|
**2021-06-11** 更新`3.1`版 docker 镜像,新增同时支持 X86 和 ARM 架构.
|
||||||
|
|
||||||
## 部署
|
## 部署
|
||||||
### 群晖 docker 部署
|
### docker
|
||||||
[群晖NAS高级服务 - docker 部署 zfile 在线文件目录](https://www.ioiox.com/archives/93.html)
|
|
||||||
|
|
||||||
### Linux docker 部署
|
|
||||||
首次运行会自动创建数据库目录和本地存储目录.后期迁移可直接将整个 zfile 目录备份恢复,并再次执行以下命令.
|
首次运行会自动创建数据库目录和本地存储目录.后期迁移可直接将整个 zfile 目录备份恢复,并再次执行以下命令.
|
||||||
```shell
|
```shell
|
||||||
docker run -d --name=zfile --restart=always \
|
docker run -d \
|
||||||
|
--name=zfile \
|
||||||
|
--restart=always \
|
||||||
-p 8080:8080 \
|
-p 8080:8080 \
|
||||||
-v /root/zfile/conf:/root/.zfile \
|
-v /root/zfile/conf:/root/.zfile \
|
||||||
-v /root/zfile/data:/root/zfile/data \
|
-v /root/zfile/data:/root/zfile/data \
|
||||||
stilleshan/zfile
|
stilleshan/zfile
|
||||||
```
|
```
|
||||||
|
|
||||||
### docker compose 部署
|
### docker compose
|
||||||
下载 [docker-compose.yml](https://raw.githubusercontent.com/stilleshan/dockerfiles/main/zfile/docker-compose.yml) 执行以下命令启动:
|
下载 [docker-compose.yml](https://raw.githubusercontent.com/stilleshan/dockerfiles/main/zfile/docker-compose.yml) 执行以下命令启动:
|
||||||
```shell
|
```shell
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### 群晖 docker
|
||||||
|
[群晖NAS高级服务 - docker 部署 zfile 在线文件目录](https://www.ioiox.com/archives/93.html)
|
||||||
|
|
||||||
### 配置
|
### 配置
|
||||||
访问以下安装地址进行安装配置.如使用本地存储,路径请填写`/root/zfile/data`.同时可以配置反向代理使用域名访问.
|
访问以下安装地址进行安装配置.如使用本地存储,路径请填写`/root/zfile/data`.同时可以配置反向代理使用域名访问.
|
||||||
> 可以自行修改挂载命令来配置本地存储路径.
|
> 可以自行修改挂载命令来配置本地存储路径.
|
||||||
|
@ -43,7 +45,7 @@ http://IP:8080/#/admin
|
||||||
```
|
```
|
||||||
|
|
||||||
## 参考
|
## 参考
|
||||||
参考以下链接:
|
- GitHub [zhaojun1998/zfile](https://github.com/zhaojun1998/zfile)
|
||||||
[docker 部署 zfile 在线文件目录 - 支持本地,对象存储,OneDrive等各种环境.](https://www.ioiox.com/archives/92.html)
|
- [docker 部署 zfile 在线文件目录 - 支持本地,对象存储,OneDrive等各种环境.](https://www.ioiox.com/archives/92.html)
|
||||||
[群晖NAS高级服务 - docker 部署 zfile 在线文件目录](https://www.ioiox.com/archives/93.html)
|
- [群晖NAS高级服务 - docker 部署 zfile 在线文件目录](https://www.ioiox.com/archives/93.html)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue