modify scripts

This commit is contained in:
oscarz
2025-05-19 16:04:32 +08:00
parent 72b4d589c8
commit d252009356
3 changed files with 44 additions and 5 deletions

View File

@ -5,11 +5,11 @@ services:
build:
context: .
dockerfile: Dockerfile
container_name: newstash
container_name: stash
platform: linux/x86_64
restart: unless-stopped
ports:
- "8888:9999"
- "9999:9999" # 宿主机端口:容器端口
environment:
HTTP_PROXY: "http://192.168.2.20:7890"
HTTPS_PROXY: "http://192.168.2.20:7890"
@ -42,7 +42,9 @@ services:
- ~/dockers/stash/.gitconfig:/root/.gitconfig # 共享 Git 配置文件
networks:
- devops
#command: tail -f /dev/null # 保持容器运行,调试使用
#stdin_open: true
#tty: true
networks:
devops:
external: true