Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
common
/
gdy-easy-monitor
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c6f0b393
authored
Jul 15, 2021
by
赖慧粮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(bash): 更新bash脚本阻止休眠以启动docker进程
parent
1d2114d4
Pipeline
#3757
passed with stage
in 12 minutes 9 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
Dockerfile
+4
-4
start.sh
+9
-4
No files found.
Dockerfile
View file @
c6f0b393
...
@@ -13,11 +13,11 @@ RUN cd ./xtransit-manager && yarn && cd ../
...
@@ -13,11 +13,11 @@ RUN cd ./xtransit-manager && yarn && cd ../
RUN
cd
./xtransit-server
&&
yarn
&&
cd
../
RUN
cd
./xtransit-server
&&
yarn
&&
cd
../
RUN
chmod +x start.sh
# xtransit-server: 9099 (项目内默认是这个哦,有需要自己改 config 即可)
# xtransit-server: 9099 (项目内默认是这个哦,有需要自己改 config 即可)
# xtransit-manager: 7543 test:8543
# xtransit-manager: 7543 test:8543
# xprofiler-console: 7443 test:8443
# xprofiler-console: 7443 test:8443
EXPOSE
9099 7443
EXPOSE
9099 7443
CMD
["./start.sh"]
RUN
chmod +x start.sh
\ No newline at end of file
ENTRYPOINT
["./start.sh"]
\ No newline at end of file
start.sh
View file @
c6f0b393
#!/bin/sh
#!/bin/sh
cd
./xprofiler-console
cd
./xprofiler-console
yarn start
yarn start
:daemon
cd
../xtransit-manager
cd
../xtransit-manager
yarn start
yarn start
:daemon
cd
../xtransit-server
cd
../xtransit-server
yarn start
yarn start
\ No newline at end of file
while
true
do
sleep 5
;
done
\ 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