apiserver

command module
v0.0.0-...-0fffc3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2021 License: AGPL-3.0 Imports: 35 Imported by: 0

README

启动apiserver

##编译apiserver

apiserver目录:

CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build --mod=vendor

// CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -tags netgo --mod=vendor

编译镜像

apiserver/目录:

docker build -t apiserver:v0.6 .

启动容器

demofabric目录:

docker docker run -d --name apiserver-${orgname} -p 100${i}:1001 \ -v ${prj_dir}/artifacts:/opt/apiserver/artifacts -v ${prj_dir}/config:/opt/apiserver/config apiserver:v0.6 apiserver -orgName ${orgname} -uerName Admin

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL