diff --git a/src/main/resources/config.mysql.properties b/src/main/resources/config.mysql.properties index 0ae7593..6eee35a 100644 --- a/src/main/resources/config.mysql.properties +++ b/src/main/resources/config.mysql.properties @@ -1,4 +1,4 @@ -config.jdbc.url=localhost +config.jdbc.url=database config.jdbc.database_name=saledock config.jdbc.user=root config.jdbc.password= \ No newline at end of file diff --git a/src/main/resources/hibernate.cfg.xml b/src/main/resources/hibernate.cfg.xml index 1f441f1..48e5fbd 100644 --- a/src/main/resources/hibernate.cfg.xml +++ b/src/main/resources/hibernate.cfg.xml @@ -4,7 +4,7 @@ com.mysql.cj.jdbc.Driver - jdbc:mysql://localhost:3306/saledock?createDatabaseIfNotExist=true + jdbc:mysql://database:3306/saledock?createDatabaseIfNotExist=true root