Start MSQL Schema and config the YML for docker
the 'special' words are in properties file.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user