Commit Graph

9 Commits

Author SHA1 Message Date
3fcea268a9 Update JPA config to use update mode and disable SQL init 2026-02-16 01:10:31 +05:30
c78f2713c3 Fix LazyInitializationException and update hostname format 2026-02-16 00:38:23 +05:30
927ce563c5 Set ddl-auto to create-drop for test and prod profiles 2026-02-15 20:07:41 +05:30
c1ea9c4197 Fix database URL configuration for docker-compose compatibility
- Hardcode PostgreSQL connection URL to match docker service name 'postgres'
- Remove DB_URL environment variable dependency that was causing startup failures
- Keep username/password as environment variables for flexibility
2026-01-23 23:23:39 +05:30
b8b0a4bf30 Remove environment variable defaults and align with docker-compose
- Remove default values from database environment variables
- Use POSTGRES_USERNAME/PASSWORD to match docker-compose.yaml
- Use DB_URL without default to ensure explicit configuration
2026-01-23 21:22:16 +05:30
c0ae476beb Configure PostgreSQL database settings for test and production profiles
- Add PostgreSQL datasource configuration for test and prod profiles
- Use environment-specific database URL, username, and password variables
- Set hibernate.ddl-auto=update for both profiles
- Enable SQL logging in test, disable in production
- Replace H2 in-memory database with PostgreSQL for consistency
2026-01-23 21:16:56 +05:30
c8e8817e25 ISSUE-43: Attempting to fix Hithomelabs/HomeLabDocker#43 disbling server side csrf check 2025-10-18 16:35:23 +05:30
e46974870a Trying to avoid clash with baseUrl variable 2025-09-15 01:57:34 +05:30
c5d01ece01 Adding profiles for different OpenAPI server URLS in different environments 2025-06-04 01:27:34 +05:30