minor cleanup
This commit is contained in:
parent
2393a392da
commit
cfd83549ba
@ -1,7 +1,7 @@
|
||||
jdbc:
|
||||
test:
|
||||
driverClassName: com.mysql.cj.jdbc.Driver
|
||||
jdbcUrl: "jdbc:mysql://db:3306/test?connectTimeout=0&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"
|
||||
jdbcUrl: "jdbc:mysql://db:3306/test?connectTimeout=0&createDatabaseIfNotExist=true&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"
|
||||
username: root
|
||||
password: test
|
||||
minimumIdle: 1
|
||||
|
@ -1,3 +1,3 @@
|
||||
jdbc:
|
||||
test:
|
||||
jdbcUrl: "jdbc:mysql://192.168.10.64:33006/test?connectTimeout=0&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"
|
||||
jdbcUrl: "jdbc:mysql://localhost:33006/test?connectTimeout=0&createDatabaseIfNotExist=true&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"
|
||||
|
@ -1,10 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -z `docker volume ls -q | grep -i test-m2` ]; then docker volume create test-m2; fi
|
||||
if [ -z `docker volume ls -q | grep -i test-m2` ]; then
|
||||
docker volume create test-m2;
|
||||
fi
|
||||
docker-compose up -d db
|
||||
sleep 30s
|
||||
echo Pausing for 20 seconds..
|
||||
sleep 20
|
||||
docker-compose run --rm mvn-build
|
||||
docker-compose build
|
||||
docker-compose run --rm fail
|
||||
docker-compose run --rm happy
|
||||
docker-compose down
|
||||
#docker-compose down
|
Loading…
Reference in New Issue
Block a user