|
1 month ago | |
---|---|---|
.github/workflows | 1 month ago | |
common | 1 month ago | |
docs | 1 month ago | |
drive | 1 month ago | |
server | 1 month ago | |
storage | 1 month ago | |
web | 1 month ago | |
.dockerignore | 1 month ago | |
.gitignore | 6 months ago | |
Dockerfile | 1 month ago | |
LICENSE | 5 months ago | |
Makefile | 1 month ago | |
README.md | 1 month ago | |
go.mod | 1 month ago | |
go.sum | 1 month ago | |
main.go | 1 month ago | |
wire.go | 1 month ago | |
wire_gen.go | 1 month ago |
mkdir go-drive-data
docker run -d --name go-drive -p 8089:8089 -v `pwd`/go-drive-data:/app/data devld/go-drive:0.2.0
其中 go-drive-data
是数据目录,为了保证数据在应用升级后保留,最好将其映射至容器外。
在 Release 页面下载对应平台的压缩包,解压后运行
./go-drive
直接运行 go-drive.exe
即可,默认用户为 admin
,密码 123456
mkdir go-drive-data
docker run -d --name go-drive -p 8089:8089 -v `pwd`/go-drive-data:/app/data devld/go-drive:0.2.0
go-drive-data
is the data directory. To ensure that the data is retained after the application is upgraded, it is best to map it outside the container.
Download binary file from the Release page, decompress and run
./go-drive
Just run go-drive.exe
. Default user is admin
, its password is 123456