Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
T
tcm-system
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TCM
tcm-system
Commits
600274f7
Commit
600274f7
authored
Jun 15, 2022
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产环境发布
parent
8b6fe74d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
prod.cmd
prod.cmd
+17
-0
No files found.
prod.cmd
0 → 100644
View file @
600274f7
@echo off
SET SH=docker rm -f pd-user;
SET SH=%SH% docker run --name pd-user -it -d --restart always
SET SH=%SH% -v /home/pangd/conf:/home/java/conf/ -v /home/cache/:/home/cache/ -v /home/pangd/:/home/pangd/ --net pd
SET SH=%SH% pd-user:latest --spring.profiles.active=prod --yzg.config.url=/home/java/conf/pd_all.properties
if 1 equ 1 (
java_docker -ssh root@spd1 -sh "%SH%"
TIMEOUT /T 60
java_docker -mcc -ssh root@spd2 -sh "%SH%"
)
@echo on
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment