Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Svn-to-Git
Project
Project
Details
Activity
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
王华
Svn-to-Git
Commits
3d44dd3c
Commit
3d44dd3c
authored
Aug 28, 2018
by
王进波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
629a3970
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
2 deletions
+27
-2
关于12.1服务器的配置.md
doc/关于12.1服务器的配置.md
+27
-2
No files found.
doc/关于12.1服务器的配置.md
View file @
3d44dd3c
...
...
@@ -212,8 +212,33 @@ wmi.get["root\cimv2","select macaddress from Win32_NetworkAdapter where Name = '
## SINOPIA ——私有NPM仓库
访问地址:192.168.12.1:4873
### Docker run
```
shell
sudo
docker run
--name
sinopia
-d
-p
4873:4873 keyvanfatehi/sinopia:latest
```
访问地址:192.168.12.1:4873
\ No newline at end of file
### Backups
```
docker run --volumes-from sinopia -v $(pwd):/backup ubuntu tar cvf /backup/backup.tar /opt/sinopia
```
Alternatively, host path for /opt/sinopia can be determined by running:
```
docker inspect sinopia
```
### Restore
```
docker stop sinopia
docker rm sinopia
docker run --name sinopia -d -p 4873:4873 keyvanfatehi/sinopia:latest
docker stop sinopia
docker run --volumes-from sinopia -v $(pwd):/backup ubuntu tar xvf /backup/backup.tar
docker start sinopia
```
\ 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