Skip to content

Commit

Permalink
完善启动脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
lsgwr committed Nov 15, 2021
1 parent d29ca94 commit d905356
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
File renamed without changes.
5 changes: 5 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
docker rm -f mysql
docker rm -f exam-backend-frontend
docker run -d -p 3306:3306 --name mysql --privileged=true waterknife/centos-nginx-jdk8-mysql /usr/sbin/init
docker run -d --network=host --name exam-backend-frontend waterknife/exam

0 comments on commit d905356

Please sign in to comment.