Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-akm
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
wangmingming
lcc-akm
Commits
6f963d0a
Commit
6f963d0a
authored
Mar 23, 2023
by
王明明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加鼠标移动事件
parent
b65941a6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
readme.md
readme.md
+1
-1
run.sh
src/run.sh
+1
-1
No files found.
readme.md
View file @
6f963d0a
```shell
docker run -itd --name lcc-akm-api2 -
-privileged=true --restart=always -v /home/opt/lcc-akm2
/src:/root/src/ -p 59002:59001 --cpus=1 -m 1G --log-driver=json-file --log-opt max-size=50m --log-opt max-file=3 golang/goenv:2.0 /bin/sh "/root/src/run.sh"
docker run -itd --name lcc-akm-api2 -
e logname=akm2.log --privileged=true --restart=always -v /home/opt/lcc-akm
/src:/root/src/ -p 59002:59001 --cpus=1 -m 1G --log-driver=json-file --log-opt max-size=50m --log-opt max-file=3 golang/goenv:2.0 /bin/sh "/root/src/run.sh"
```
\ No newline at end of file
src/run.sh
View file @
6f963d0a
export
GOPROXY
=
https://goproxy.cn
cd
/root/src/js
&&
npm i
&&
nohup
/usr/local/bin/node
--expose-gc
--max-old-space-size
=
256 run.js
>
1.log 2>&1 &
#
cd /root/src/js && npm i && nohup /usr/local/bin/node --expose-gc --max-old-space-size=256 run.js > 1.log 2>&1 &
cd
/root/src
&&
go run main.go
--logname
=
$logname
\ 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