Start MSQL Schema and config the YML for docker

the 'special' words are in properties file.
This commit is contained in:
bryce
2024-11-05 21:40:18 +13:00
parent 8a5488f331
commit e31b5c4a63
3 changed files with 13 additions and 29 deletions

View File

@@ -1,7 +1,8 @@
# MariaDB Configuration
spring.datasource.url=jdbc:mariadb://localhost:3306/bricklog_db
spring.datasource.username=your_db_username
spring.datasource.password=your_db_password
# Database configuration
spring.datasource.url=jdbc:mariadb://host.docker.internal:3306/bricklog
spring.datasource.username=bricklog
spring.datasource.password=your_password_here
# JPA settings
spring.jpa.hibernate.ddl-auto=update # Creates tables automatically; set to 'none' in production if not needed