feat:添加docker-hoster到列表
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user