From 1d44ba766df539636f6d6d86a7a426588c45d57f Mon Sep 17 00:00:00 2001 From: vesem Date: Sun, 1 Aug 2021 08:25:32 -0400 Subject: [PATCH] Started mobile web interface --- Vagrantfile | 13 +++++++++++++ src/main/resources/config/application-dev.yml | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 Vagrantfile 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