Skip to content

Commit

Permalink
Add: mongo user&pwd
Browse files Browse the repository at this point in the history
  • Loading branch information
howie6879 committed Dec 31, 2021
1 parent 75c6cf9 commit 015040f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ docker build --no-cache=true -t liuliio/api:v0.1.0 -f api.Dockerfile .
# 打包使用缓存
docker build --no-cache=false -t liuliio/api:v0.1.0 -f api.Dockerfile .
# 运行
docker run -d -it --restart=always -v $PWD/pro.env:/data/code/pro.env --name liuli_api liuliio/api:v0.1.0
docker run -d -it --restart=always -p 8765:8765 -v $PWD/pro.env:/data/code/pro.env --name liuli_api liuliio/api:v0.1.0
# 上传
docker push liuliio/api:v0.1.0

0 comments on commit 015040f

Please sign in to comment.