Skip to content
This repository was archived by the owner on May 22, 2021. It is now read-only.

Commit 113c26e

Browse files
committed
Use older docker version and created scripts (#60)
1 parent 37082d1 commit 113c26e

File tree

5 files changed

+15
-1
lines changed

5 files changed

+15
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,3 +200,4 @@ mvnw.cmd
200200
.mvn/
201201

202202
# End of https://www.gitignore.io/api/java,maven,eclipse,intellij+all
203+
/task-microservice-mariadb-data/

build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env sh
2+
3+
mvn clean install

buildDocker.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env sh
2+
3+
docker build --tag eedu/taskms:latest .

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '3.8'
1+
version: '3.6'
22

33
services:
44
task_database:

run.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env sh
2+
3+
sh build.sh
4+
sudo sh buildDocker.sh
5+
6+
sudo docker-compose up
7+
sudo docker-compose down

0 commit comments

Comments
 (0)