fix: separate dev and local profiles for Docker vs bare-metal
All checks were successful
CI / build (push) Successful in 37s
CI / docker (push) Successful in 29s

dev profile: activated inside Docker containers (show-sql only)
local profile: for running Maven outside Docker (localhost overrides)

Usage: mvn spring-boot:run -Dspring-boot.run.profiles=dev,local

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-04 22:45:07 +02:00
parent c0e189a5c8
commit 806895fbd0
2 changed files with 13 additions and 10 deletions

View File

@@ -1,13 +1,3 @@
spring: spring:
datasource:
url: jdbc:postgresql://localhost:5432/cameleer_saas
username: cameleer
password: cameleer_dev
jpa: jpa:
show-sql: true show-sql: true
cameleer:
clickhouse:
url: jdbc:clickhouse://localhost:8123/cameleer
runtime:
cameleer3-server-endpoint: http://localhost:8081

View File

@@ -0,0 +1,13 @@
## Profile for running outside Docker (mvn spring-boot:run -Dspring-boot.run.profiles=dev,local)
## Overrides docker hostnames with localhost for Postgres, ClickHouse, cameleer3-server
spring:
datasource:
url: jdbc:postgresql://localhost:5432/cameleer_saas
username: cameleer
password: cameleer_dev
cameleer:
clickhouse:
url: jdbc:clickhouse://localhost:8123/cameleer
runtime:
cameleer3-server-endpoint: http://localhost:8081