diff --git a/conf/grouper.env b/conf/grouper.env index ed9bb0c..9465ff3 100644 --- a/conf/grouper.env +++ b/conf/grouper.env @@ -1,4 +1,5 @@ VERSION=2.3.0 TOMCAT_VERSION=6.0.35 GROUPER_SYSTEM_PASSWORD=3cf0ccc7d6b240390188367933c9cd90 -MYSQL_HOST=mariadb \ No newline at end of file +MYSQL_HOST=mariadb +WAIT_TIME=600 \ No newline at end of file diff --git a/conf/grouper.hibernate.properties b/conf/grouper.hibernate.properties index 016cb1d..913f75f 100644 --- a/conf/grouper.hibernate.properties +++ b/conf/grouper.hibernate.properties @@ -42,4 +42,4 @@ hibernate.connection.username = #MYSQL_USER# # If you are using an empty password, depending upon your version of # Java and Ant you may need to specify a password of "". # Note: you can keep passwords external and encrypted: https://bugs.internet2.edu/jira/browse/GRP-122 -hibernate.connection.password = #MYSQL_USER# \ No newline at end of file +hibernate.connection.password = #MYSQL_PASSWORD# \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index b410b8d..fe890ae 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,7 +14,7 @@ services: - NET_ADMIN - SYS_ADMIN volumes: - - ./mysql:/var/lib/mysqlmounted + - mysql:/var/lib/mysqlmounted env_file: - conf/common.env - conf/db.env @@ -37,10 +37,13 @@ services: env_file: - conf/common.env - conf/grouper.env - links: + depends_on: - mariadb networks: i2network: driver: bridge +volumes: + mysql: + driver: local \ No newline at end of file