forked from DevOps/deploy.stack
Merge branch 'main' of 6t7.net:cnphpbb/deploy.stack
This commit is contained in:
6
base/redis/env.cfg
Normal file
6
base/redis/env.cfg
Normal 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
|
||||||
11
base/redis/redis.stack.yml
Normal file
11
base/redis/redis.stack.yml
Normal 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'
|
||||||
11
base/redis/valkey.stack.yml
Normal file
11
base/redis/valkey.stack.yml
Normal 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'
|
||||||
@@ -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
|
||||||
@@ -1 +1 @@
|
|||||||
IMAGE_TAG=cnphpbb/it-tools:20240520
|
IMAGE_TAG=hub.tp229.com:3500/cnphpbb/it-tools:20241022
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
# 说明文档
|
# 说明文档
|
||||||
|
|
||||||
自用的比较常规的 `docker-compose` 的 stack 脚本。
|
自用的比较常规的 `docker-compose` 的 stack 脚本。
|
||||||
|
**开源只是为了分享,不保证任何的稳定性。请根据自己的需求进行修改。**
|
||||||
|
|
||||||
|
> 注意:
|
||||||
|
> 1. 该脚本只是一个简单的示例,不保证任何的稳定性。
|
||||||
|
> 2. 请根据自己的需求进行修改。
|
||||||
|
|
||||||
|
|||||||
@@ -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
16
shell/run.sh
Normal 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
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user