modify scripts
This commit is contained in:
@ -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
|
||||
Reference in New Issue
Block a user