chore: 针对备份及还原处理
This commit is contained in:
16
scripts/patch_tools/docker-compose.yml
Normal file
16
scripts/patch_tools/docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
# TODO: 创建一个基于alpine的docker镜像,用于运行patch工具
|
||||
# 镜像名称:patch-tools-alpine
|
||||
# 基础镜像:alpine:3.18
|
||||
# 安装依赖:bash, tar, gzip, zip, diffutils, patch
|
||||
# 复制脚本:patch_config.sh, patch.sh
|
||||
# 入口点:/bin/bash /patch.sh
|
||||
|
||||
services:
|
||||
patch-tools:
|
||||
image: ubuntu/squid:latest
|
||||
container_name: patch-tools-alpine
|
||||
volumes:
|
||||
- ./:/working_dir/scripts
|
||||
- ../patch-dir:/working_dir/patchs
|
||||
- ../../ftp-src/app:/working_dir/old-shop-src
|
||||
- ../../src/app:/working_dir/new-shop-src
|
||||
Reference in New Issue
Block a user