精简提交历史记录
This commit is contained in:
3
apps/watchtower/latest/.env.sample
Normal file
3
apps/watchtower/latest/.env.sample
Normal file
@@ -0,0 +1,3 @@
|
||||
CONTAINER_NAME="watchtower"
|
||||
ENV1='WATCHTOWER_NO_STARTUP_MESSAGE'
|
||||
COMMAND1='--interval 3600 --cleanup'
|
||||
16
apps/watchtower/latest/data.yml
Normal file
16
apps/watchtower/latest/data.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: WATCHTOWER_NO_STARTUP_MESSAGE
|
||||
edit: true
|
||||
envKey: ENV1
|
||||
labelEn: Environmental parameters (split by ;)
|
||||
labelZh: 环境参数(以;分割)
|
||||
required: true
|
||||
type: text
|
||||
- default: --interval 3600 --cleanup
|
||||
edit: true
|
||||
envKey: COMMAND1
|
||||
labelEn: Command parameters (separated by spaces)
|
||||
labelZh: 命令参数(以空格分割)
|
||||
required: true
|
||||
type: text
|
||||
20
apps/watchtower/latest/docker-compose.yml
Normal file
20
apps/watchtower/latest/docker-compose.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
version: "3"
|
||||
services:
|
||||
watchtower:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- ${ENV1}
|
||||
command: ${COMMAND1}
|
||||
image: containrrr/watchtower
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user