mirror of
https://gitee.com/BDWare/router-backend
synced 2025-01-25 01:04:05 +00:00
add docker scripts
This commit is contained in:
parent
3bcd652421
commit
2ac5c153de
15
Dockerfile
15
Dockerfile
@ -1,15 +0,0 @@
|
||||
FROM openjdk:8
|
||||
|
||||
ARG GOPRIVATE=bdware.org/*
|
||||
ARG GOPROXY=https://goproxy.cn
|
||||
|
||||
LABEL maintainer="caihuaqian@internetapi.cn"
|
||||
LABEL org.bdware.version="1.5.0"
|
||||
LABEL org.bdware.version.isproduction="false"
|
||||
LABEL org.bdware.release-date="2021-08-09"
|
||||
|
||||
COPY ./output /bdcluster
|
||||
WORKDIR /bdcluster
|
||||
VOLUME /bdcluster/NodeCenterDB /bdcluster/rocksdb
|
||||
ENTRYPOINT ["java"]
|
||||
CMD ["-Dfile.encoding=UTF-8", "-cp", "./libs/*:bdcluster.jar", "org.bdware.server.NodeCenterServer", "-service-port=21040", "-do-repo-ip=localhost","-do-repo-port=21042", "-enable-ssl=./ssl/chained.pem:./ssl/domain.pem"]
|
Loading…
Reference in New Issue
Block a user