diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 00000000..ebab25a4 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,13 @@ +Vagrant.configure("2") do |config| + config.vm.provider "docker" do |d| + d.image = "mysql:8.0.20" + config.vm.synced_folder "~/mysql", "/var/lib/mysql", docker_consistancy: "delegated" + d.privileged = "true" + d.ports = ["3306:3306"] + d.env = { + "MYSQL_USER":"root", + "MYSQL_ALLOW_EMPTY_PASSWORD":"yes", + "MYSQL_DATABASE":"crusadetracker" + } + end +end diff --git a/src/main/resources/config/application-dev.yml b/src/main/resources/config/application-dev.yml index 02b43900..a92fe409 100644 --- a/src/main/resources/config/application-dev.yml +++ b/src/main/resources/config/application-dev.yml @@ -38,8 +38,8 @@ spring: datasource: type: com.zaxxer.hikari.HikariDataSource url: jdbc:mysql://localhost:3306/crusadetracker?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true&useLegacyDatetimeCode=false&serverTimezone=UTC&createDatabaseIfNotExist=true - username: crusadetracker - password: crusadetracker + username: root + password: hikari: poolName: Hikari auto-commit: false diff --git a/src/main/webapp/app/home/home.component.html b/src/main/webapp/app/home/home.component.html index 2c63084e..6b86d296 100644 --- a/src/main/webapp/app/home/home.component.html +++ b/src/main/webapp/app/home/home.component.html @@ -1,4 +1,4 @@ -