diff --git a/config-repo/application-dev.yaml b/config-repo/application-dev.yaml index 288ae0c..947eea6 100644 --- a/config-repo/application-dev.yaml +++ b/config-repo/application-dev.yaml @@ -1,16 +1,16 @@ # TODO before merge request: вернуть старые адреса окружения. -# pcp.infra.postgres.host: 192.168.60.146 +# pcp.infra.postgres.host: localhost pcp: infra: postgres: - host: 192.168.60.146 + host: localhost port: 35400 kafka: - host: 192.168.60.146 + host: localhost port: 19092 network: - host: 192.168.60.146 + host: localhost ports: config: 8888 diff --git a/config-repo/application-docker-local.yaml b/config-repo/application-docker-local.yaml index eb1019f..7b479db 100644 --- a/config-repo/application-docker-local.yaml +++ b/config-repo/application-docker-local.yaml @@ -56,7 +56,7 @@ spring: camunda: client: enabled: ${CAMUNDA_CLIENT_ENABLED:false} - grpc-address: ${CAMUNDA_GRPC_ADDRESS:http://192.168.60.146:26500} + grpc-address: ${CAMUNDA_GRPC_ADDRESS:http://localhost:26500} auth: method: none prefer-rest-over-grpc: false diff --git a/create_pcp_databases.sh b/create_pcp_databases.sh index cf62fea..d257b3c 100755 --- a/create_pcp_databases.sh +++ b/create_pcp_databases.sh @@ -3,7 +3,7 @@ set -euo pipefail # PostgreSQL connection settings. Override via env if needed: # PGHOST=... PGPORT=... PGUSER=... PGPASSWORD=... ./create_pcp_databases.sh -PGHOST="${PGHOST:-192.168.60.146}" +PGHOST="${PGHOST:-localhost}" PGPORT="${PGPORT:-5432}" PGUSER="${PGUSER:-postgres}" PGPASSWORD="${PGPASSWORD:-password}"