diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index a2a09bb..45827c3 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -1,13 +1,3 @@ spring: - datasource: - url: jdbc:postgresql://localhost:5432/cameleer_saas - username: cameleer - password: cameleer_dev jpa: show-sql: true - -cameleer: - clickhouse: - url: jdbc:clickhouse://localhost:8123/cameleer - runtime: - cameleer3-server-endpoint: http://localhost:8081 diff --git a/src/main/resources/application-local.yml b/src/main/resources/application-local.yml new file mode 100644 index 0000000..bf185ef --- /dev/null +++ b/src/main/resources/application-local.yml @@ -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