Merge branch 'main' of 6t7.net:cnphpbb/deploy.stack

This commit is contained in:
cnphpbb
2025-08-15 14:10:36 +08:00
10 changed files with 57 additions and 8 deletions

6
base/redis/env.cfg Normal file
View File

@@ -0,0 +1,6 @@
IMAGE_TAG_REDISV6=redis:6.2.19-alpine
IMAGE_TAG_REDISV7=redis:7.2.10-alpine
IMAGE_TAG_REDISV8=redis:8.0.3-alpine
IMAGE_TAG_VALKEYV8=valkey/valkey:8.1.3-alpine
IMAGE_TAG_VALKEYV7=valkey/valkey:7.2.10-alpine
Volumes_PATH=/data/volumes/redis

View File

@@ -0,0 +1,11 @@
# Pull: docker compose -p redis --env-file ./base/redis/env.cfg -f ./base/redis/redis.stack.yml pull
# Run:: docker compose -p redis --env-file ./base/redis/env.cfg -f ./base/redis/redis.stack.yml up -d
services:
redis:
image: ${IMAGE_TAG_REDISV8}
ports:
- '6379:6379'
command: redis-server --appendonly yes
volumes:
- '${Volumes_PATH}/redis:/data'

View File

@@ -0,0 +1,11 @@
# Pull: docker compose -p valkey --env-file ./base/redis/env.cfg -f ./base/redis/valkey.stack.yml pull
# Run:: docker compose -p valkey --env-file ./base/redis/env.cfg -f ./base/redis/valkey.stack.yml up -d
services:
redis:
image: ${IMAGE_TAG_VALKEYV8}
ports:
- '6379:6379'
command: valkey-server --appendonly yes
volumes:
- '${Volumes_PATH}/redis:/data'

View File

@@ -1,2 +1,2 @@
IMAGE_TAG=mouday/domain-admin:v1.6.63 IMAGE_TAG=mouday/domain-admin:v1.6.70
Volumes_PATH=/data/volumes/domain-admin Volumes_PATH=/data/volumes/domain-admin

View File

@@ -1 +1 @@
IMAGE_TAG=cnphpbb/it-tools:20240520 IMAGE_TAG=hub.tp229.com:3500/cnphpbb/it-tools:20241022

View File

@@ -1,2 +1,2 @@
IMAGE_TAG=neosmemo/memos:0.24.3 IMAGE_TAG=neosmemo/memos:0.25.0
Volumes_Path=/data/volumes/memos Volumes_Path=/data/volumes/memos

View File

@@ -1,4 +1,4 @@
# IMAGE_LATEST=portainer/portainer-ce:2.19.4 # IMAGE_LATEST=portainer/portainer-ce:2.19.4
#IMAGE_LATEST=portainer/portainer-ce:latest #IMAGE_LATEST=portainer/portainer-ce:latest
IMAGE_TAG=portainer/portainer-ce:2.27.7 IMAGE_TAG=portainer/portainer-ce:2.27.9
AGENT_TAG=portainer/agent:2.27.7 AGENT_TAG=portainer/agent:2.27.9

View File

@@ -1,4 +1,9 @@
# 说明文档 # 说明文档
自用的比较常规的 `docker-compose` 的 stack 脚本。 自用的比较常规的 `docker-compose` 的 stack 脚本。
**开源只是为了分享,不保证任何的稳定性。请根据自己的需求进行修改。**
> 注意:
> 1. 该脚本只是一个简单的示例,不保证任何的稳定性。
> 2. 请根据自己的需求进行修改。

View File

@@ -1,4 +1,4 @@
SearXNG_TAG=searxng/searxng:latest SearXNG_TAG=searxng/searxng:latest
Redis_TAG=valkey/valkey:8.1.2-alpine Redis_TAG=valkey/valkey:8.1.3-alpine
Valkey_TAG=valkey/valkey:8.1.2 Valkey_TAG=valkey/valkey:8.1.3
Volumes_PATH=/data/volumes/searxng Volumes_PATH=/data/volumes/searxng

16
shell/run.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
#报错:
# hint: You have divergent branches and need to specify how to reconcile them. hint: You can do so by running one of the following commands sometime before hint: your next pull: hint: hint: git config pull.rebase false # merge hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. fatal: Need to specify how to reconcile divergent branches.
#解决:
# git config pull.rebase false
updatesh() {
local dir=$1
echo "update ${dir}"
cd ${dir} && git fetch --all && git reset --hard origin/main && git pull
}
# 调用函数
updatesh $1