spring.application.name=genesis

server.port=8080

api.security.token.secret=${JWT_SECRET:my-secret-key}

spring.datasource.url=${DB_URL:jdbc:postgresql://localhost:5432/too_easy}
spring.datasource.username=${DB_USERNAME:postgres}
spring.datasource.password=${DB_PASSWORD:postgres}
spring.datasource.driver-class-name=org.postgresql.Driver

spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.hibernate.ddl-auto=validate

spring.flyway.enabled=true
spring.flyway.locations=classpath:db/migration/postgresql
