mirror of
https://github.com/okxlin/appstore.git
synced 2025-07-13 21:02:18 +08:00
feat:添加docker-hoster到列表
This commit is contained in:
parent
2b7978a62a
commit
6d3fde0734
3
apps/docker-hoster/README.md
Normal file
3
apps/docker-hoster/README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Hoster
|
||||||
|
|
||||||
|
一个简单的 “etc/hosts” 文件注入工具,用于解析主机上本地 Docker 容器的名称。
|
19
apps/docker-hoster/data.yml
Normal file
19
apps/docker-hoster/data.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
name: Docker Hoster
|
||||||
|
tags:
|
||||||
|
- 实用工具
|
||||||
|
title: 在宿主机 hosts 上解析容器名
|
||||||
|
description: 在宿主机 hosts 上解析容器名
|
||||||
|
additionalProperties:
|
||||||
|
key: docker-hoster
|
||||||
|
name: Docker Hoster
|
||||||
|
tags:
|
||||||
|
- Tool
|
||||||
|
shortDescZh: 在宿主机 hosts 上解析容器名
|
||||||
|
shortDescEn: Docker local hostname resolution
|
||||||
|
type: tool
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
recommend: 0
|
||||||
|
website: https://hub.docker.com/r/solipsist01/docker-hoster
|
||||||
|
github: https://github.com/dvddarias/docker-hoster
|
||||||
|
document: https://github.com/dvddarias/docker-hoster
|
3
apps/docker-hoster/latest/.env.sample
Normal file
3
apps/docker-hoster/latest/.env.sample
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
CONTAINER_NAME="docker-hoster"
|
||||||
|
DOCKER_SOCK_PATH="/var/run/docker.sock"
|
||||||
|
HOSTS_PATH="/etc/hosts"
|
16
apps/docker-hoster/latest/data.yml
Normal file
16
apps/docker-hoster/latest/data.yml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: "/var/run/docker.sock"
|
||||||
|
edit: true
|
||||||
|
envKey: DOCKER_SOCK_PATH
|
||||||
|
labelEn: Docker Socket Path
|
||||||
|
labelZh: Docker 套接字路径
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: "/etc/hosts"
|
||||||
|
edit: true
|
||||||
|
envKey: HOSTS_PATH
|
||||||
|
labelEn: Hosts File Path
|
||||||
|
labelZh: Hosts 文件路径
|
||||||
|
required: true
|
||||||
|
type: text
|
16
apps/docker-hoster/latest/docker-compose.yml
Normal file
16
apps/docker-hoster/latest/docker-compose.yml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
services:
|
||||||
|
docker-hoster:
|
||||||
|
image: "solipsist01/docker-hoster:latest"
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
volumes:
|
||||||
|
- ${DOCKER_SOCK_PATH}:/tmp/docker.sock
|
||||||
|
- ${HOSTS_PATH}:/tmp/hosts
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
BIN
apps/docker-hoster/logo.png
Normal file
BIN
apps/docker-hoster/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.7 KiB |
Loading…
Reference in New Issue
Block a user