mirror of
https://github.com/PaulReichmuth/timekeep-backend.git
synced 2025-12-22 22:41:59 +00:00
first barebones project structure
This commit is contained in:
@@ -1 +1,7 @@
|
||||
spring.application.name=timekeep-backend
|
||||
spring.jpa.hibernate.ddl-auto=update
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/jpa
|
||||
spring.datasource.username=myuser
|
||||
spring.datasource.password=secret
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
spring.jpa.show-sql= true
|
||||
|
||||
11
src/main/resources/compose.yaml
Normal file
11
src/main/resources/compose.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
services:
|
||||
mysql:
|
||||
container_name: 'jpa-mysql'
|
||||
image: 'mysql:latest'
|
||||
environment:
|
||||
- 'MYSQL_DATABASE=jpa'
|
||||
- 'MYSQL_PASSWORD=secret'
|
||||
- 'MYSQL_ROOT_PASSWORD=verysecret'
|
||||
- 'MYSQL_USER=myuser'
|
||||
ports:
|
||||
- '3306:3306'
|
||||
Reference in New Issue
Block a user