Skip to content

Commit

Permalink
fix: change database port
Browse files Browse the repository at this point in the history
  • Loading branch information
janweinschenker committed Feb 23, 2024
1 parent 50bba70 commit acea2dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docker/azure-sql-edge/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
MSSQL_SA_PASSWORD: Aut0mat0rs!
TZ: UTC
ports:
- "1433:1433"
- "1434:1433"

databaseSetup:
image: mcr.microsoft.com/mssql/server:2019-latest
Expand All @@ -26,10 +26,10 @@ services:
zookeeper:
image: confluentinc/cp-zookeeper:latest
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_CLIENT_PORT: 2182
ZOOKEEPER_TICK_TIME: 2000
ports:
- 22181:2181
- 22181:2182

kafka:
image: confluentinc/cp-kafka:latest
Expand All @@ -39,7 +39,7 @@ services:
- 29092:29092
environment:
KAFKA_BROKER_ID: 1
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2182
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,PLAINTEXT_HOST://localhost:29092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
Expand Down
2 changes: 1 addition & 1 deletion flyway/local.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
flyway.user=SA
flyway.password=Aut0mat0rs!
flyway.schemas=command,query
flyway.url=jdbc:sqlserver://localhost:1433;database=cqrs-meets-hexagonal;encrypt=false;trustServerCertificate=false;hostNameInCertificate=*.database.windows.net;loginTimeout=30;
flyway.url=jdbc:sqlserver://localhost:1434;database=cqrs-meets-hexagonal;encrypt=false;trustServerCertificate=false;hostNameInCertificate=*.database.windows.net;loginTimeout=30;
flyway.locations=classpath:io/holixon/cqrshexagonaldemo/demoparent/command/adapter/out/flyway

# mvn clean compile flyway:migrate -Dflyway.configFiles=flyway/local.conf

0 comments on commit acea2dc

Please sign in to comment.