feat:添加autoheal到列表
This commit is contained in:
2
apps/autoheal/latest/.env.sample
Normal file
2
apps/autoheal/latest/.env.sample
Normal file
@@ -0,0 +1,2 @@
|
||||
CONTAINER_NAME="autoheal"
|
||||
ENV1='AUTOHEAL_CONTAINER_LABEL=all'
|
||||
9
apps/autoheal/latest/data.yml
Normal file
9
apps/autoheal/latest/data.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 'AUTOHEAL_CONTAINER_LABEL=all'
|
||||
edit: true
|
||||
envKey: ENV1
|
||||
labelEn: Environmental parameters
|
||||
labelZh: 环境参数
|
||||
required: true
|
||||
type: text
|
||||
18
apps/autoheal/latest/docker-compose.yml
Normal file
18
apps/autoheal/latest/docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
version: '3'
|
||||
services:
|
||||
autoheal:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- ${ENV1}
|
||||
image: willfarrell/autoheal:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user