forked from DevOps/deploy.stack
Merge branch 'main' of 6t7.net:cnphpbb/deploy.stack
This commit is contained in:
10
crontab/smartctl.job
Normal file
10
crontab/smartctl.job
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
smartctl --all -d megaraid,0 /dev/sda >> /root/smartctl.$(date +%y%m%d).log
|
||||
smartctl --all -d megaraid,1 /dev/sda >> /root/smartctl.$(date +%y%m%d).log
|
||||
smartctl --all -d megaraid,2 /dev/sda >> /root/smartctl.$(date +%y%m%d).log
|
||||
smartctl --all -d megaraid,3 /dev/sda >> /root/smartctl.$(date +%y%m%d).log
|
||||
smartctl --all -d megaraid,4 /dev/sda >> /root/smartctl.$(date +%y%m%d).log
|
||||
smartctl --all -d megaraid,5 /dev/sda >> /root/smartctl.$(date +%y%m%d).log
|
||||
smartctl --all -d megaraid,6 /dev/sda >> /root/smartctl.$(date +%y%m%d).log
|
||||
smartctl --all -d megaraid,7 /dev/sda >> /root/smartctl.$(date +%y%m%d).log
|
||||
@@ -1,7 +1,7 @@
|
||||
# path:: mkdir -pv /data/volumes/dufs/data && mkdir -pv /data/mygit/config/dufs
|
||||
# disc:: 请修改 ./config/config.yaml中的配置, 并将其复制到“/data/mygit/config/dufs”目录中
|
||||
# pull:: docker compose -p memos --env-file ./dufs/env.cfg -f ./dufs/stack.yml pull
|
||||
# run:: docker compose -p memos --env-file ./dufs/env.cfg -f ./dufs/stack.yml up -d
|
||||
# pull:: docker compose -p dufs --env-file ./dufs/env.cfg -f ./dufs/stack.yml pull
|
||||
# run:: docker compose -p dufs --env-file ./dufs/env.cfg -f ./dufs/stack.yml up -d
|
||||
|
||||
services:
|
||||
dufs:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
IMAGE_TAG=gitea/gitea:1.23.7-rootless
|
||||
IMAGE_TAG=gitea/gitea:1.23.8-rootless
|
||||
Volumes_PATH=/data/volumes/gitea
|
||||
LAY_SSH_HOST_PORT=22
|
||||
SSH_HOST_PORT=2222
|
||||
Reference in New Issue
Block a user