From 7bd15bd92f81354d6898676ba954807863ac545d Mon Sep 17 00:00:00 2001 From: cnphpbb Date: Mon, 15 Sep 2025 21:41:55 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=92=8C=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在stack.yml中添加运行命令注释 在env.cfg中新增CADDY_CONFIG_ROOT配置项 更新txc-webout.yml中的镜像和配置路径 --- rustfs/stack.yml | 1 + webout/env.cfg | 3 ++- webout/txc-webout.yml | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/rustfs/stack.yml b/rustfs/stack.yml index d79af36..0c2d697 100644 --- a/rustfs/stack.yml +++ b/rustfs/stack.yml @@ -1,3 +1,4 @@ +# RUN:: docker compose -p rustfs --env-file ./rustfs/env.cfg -f ./rustfs/stack.yml up -d services: rustfs: image: ${IMAGE_TAG} diff --git a/webout/env.cfg b/webout/env.cfg index 55b2612..c5d705e 100644 --- a/webout/env.cfg +++ b/webout/env.cfg @@ -3,4 +3,5 @@ IMAGE_TAG=caddy:2.10.0 BUILD_IMAGE_TAG=caddy:2.10.0-builder WEBDAV_IMAGE_TAG=cnphpbb/caddy-webdav:2-alpine TXC_DEPLOY_ROOT=/data/deploy.stack -TXC_VOLUMES_ROOT=/data/volumes \ No newline at end of file +TXC_VOLUMES_ROOT=/data/volumes +CADDY_CONFIG_ROOT=/data/configs \ No newline at end of file diff --git a/webout/txc-webout.yml b/webout/txc-webout.yml index d008ed4..92fa721 100644 --- a/webout/txc-webout.yml +++ b/webout/txc-webout.yml @@ -2,11 +2,11 @@ services: web-out: - image: ${IMAGE_TAG} + image: ${WEBDAV_IMAGE_TAG} volumes: - caddy_data:/data - caddy_config:/config - - ${TXC_DEPLOY_ROOT}/webout/configs/caddy/txc-proxy.conf:/etc/caddy/Caddyfile + - ${CADDY_CONFIG_ROO}/caddy/txc-proxy.conf:/etc/caddy/Caddyfile - ${TXC_VOLUMES_ROOT}/web-root:/www-root ports: - '443:443'