mirror of
https://github.com/gmbrax/MediaManager-core.git
synced 2026-11-09 14:00:17 +00:00
Initialize MediaManager-Core project with essential setup:
- Added `.gitignore` for common IDE and build artifacts. - Configured `pom.xml` with dependencies: PostgreSQL, Hibernate, HikariCP, Log4j 2, Jackson, JUnit 5. - Created `Media` entity with JPA annotations. - Added `application.properties` for database and IPC configuration. - Configured Log4j 2 with console and rolling file appenders. - Provided `README.md` with setup instructions. - Included `MediaManagerApplication` class as a starting point.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Database Configuration
|
||||
db.url=jdbc:postgresql://localhost:5432/mediamanager
|
||||
db.username=mediamanager
|
||||
db.password=changeme
|
||||
db.driver=org.postgresql.Driver
|
||||
|
||||
# HikariCP Connection Pool Settings
|
||||
db.pool.maximum-pool-size=10
|
||||
db.pool.minimum-idle=2
|
||||
db.pool.connection-timeout=30000
|
||||
db.pool.idle-timeout=600000
|
||||
db.pool.max-lifetime=1800000
|
||||
|
||||
# Hibernate Settings
|
||||
hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
|
||||
hibernate.hbm2ddl.auto=update
|
||||
hibernate.show_sql=false
|
||||
hibernate.format_sql=true
|
||||
|
||||
# IPC Configuration
|
||||
ipc.pipe.name=mediamanager-pipe
|
||||
ipc.pipe.path=/tmp/mediamanager
|
||||
ipc.buffer.size=8192
|
||||
Reference in New Issue
Block a user