-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: include ADVERTISED_HTTP_PORT (#2048)
* chore: include ADVERTISED_HTTP_PORT * maven archetypes * move USER_SERVICE_HOST to .env file * remove unnecessary vars from spring test * fix typo * use explicit ports in docker-compose-integration
- Loading branch information
Showing
128 changed files
with
1,020 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...va/kalix-maven-archetype-event-sourced-entity/src/main/resources/archetype-resources/.env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# this is the port where the kalix runtime container will be exposed | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
ADVERTISED_HTTP_PORT=9000 | ||
|
||
# this is the port where the user services (your application) will open | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
USER_SERVICE_PORT=8080 | ||
|
||
# this variable defines the host where the kalix runtime (running in docker) | ||
# will reach the user service in local development | ||
USER_SERVICE_HOST=host.docker.internal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
maven-java/kalix-maven-archetype-value-entity/src/main/resources/archetype-resources/.env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# this is the port where the kalix runtime container will be exposed | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
ADVERTISED_HTTP_PORT=9000 | ||
|
||
# this is the port where the user services (your application) will open | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
USER_SERVICE_PORT=8080 | ||
|
||
# this variable defines the host where the kalix runtime (running in docker) | ||
# will reach the user service in local development | ||
USER_SERVICE_HOST=host.docker.internal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
maven-java/kalix-spring-boot-archetype/src/main/resources/archetype-resources/.env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# this is the port where the kalix runtime container will be exposed | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
ADVERTISED_HTTP_PORT=9000 | ||
|
||
# this is the port where the user services (your application) will open | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
USER_SERVICE_PORT=8080 | ||
|
||
# this variable defines the host where the kalix runtime (running in docker) | ||
# will reach the user service in local development | ||
USER_SERVICE_HOST=host.docker.internal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
maven-java/kalix-spring-boot-kotlin-archetype/src/main/resources/archetype-resources/.env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# this is the port where the kalix runtime container will be exposed | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
ADVERTISED_HTTP_PORT=9000 | ||
|
||
# this is the port where the user services (your application) will open | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
USER_SERVICE_PORT=8080 | ||
|
||
# this variable defines the host where the kalix runtime (running in docker) | ||
# will reach the user service in local development | ||
USER_SERVICE_HOST=host.docker.internal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
samples/java-protobuf-customer-registry-kafka-quickstart/.env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
# this is the port where the kalix runtime container will be exposed | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
ADVERTISED_HTTP_PORT=9000 | ||
|
||
# this is the port where the user services (your application) will open | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
USER_SERVICE_PORT=8080 | ||
|
||
# this variable defines the host where the kalix runtime (running in docker) | ||
# will reach the user service in local development | ||
USER_SERVICE_HOST=host.docker.internal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
# this is the port where the kalix runtime container will be exposed | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
ADVERTISED_HTTP_PORT=9000 | ||
|
||
# this is the port where the user services (your application) will open | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
USER_SERVICE_PORT=8080 | ||
|
||
# this variable defines the host where the kalix runtime (running in docker) | ||
# will reach the user service in local development | ||
USER_SERVICE_HOST=host.docker.internal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
samples/java-protobuf-customer-registry-views-quickstart/.env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
# this is the port where the kalix runtime container will be exposed | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
ADVERTISED_HTTP_PORT=9000 | ||
|
||
# this is the port where the user services (your application) will open | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
USER_SERVICE_PORT=8080 | ||
|
||
# this variable defines the host where the kalix runtime (running in docker) | ||
# will reach the user service in local development | ||
USER_SERVICE_HOST=host.docker.internal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
# this is the port where the kalix runtime container will be exposed | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
ADVERTISED_HTTP_PORT=9000 | ||
|
||
# this is the port where the user services (your application) will open | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
USER_SERVICE_PORT=8080 | ||
|
||
# this variable defines the host where the kalix runtime (running in docker) | ||
# will reach the user service in local development | ||
USER_SERVICE_HOST=host.docker.internal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
# this is the port where the kalix runtime container will be exposed | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
ADVERTISED_HTTP_PORT=9000 | ||
|
||
# this is the port where the user services (your application) will open | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
USER_SERVICE_PORT=8080 | ||
|
||
# this variable defines the host where the kalix runtime (running in docker) | ||
# will reach the user service in local development | ||
USER_SERVICE_HOST=host.docker.internal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 11 additions & 1 deletion
12
samples/java-protobuf-eventsourced-customer-registry-subscriber/.env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
USER_SERVICE_PORT=8080 | ||
# this is the port where the kalix runtime container will be exposed | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
ADVERTISED_HTTP_PORT=9001 | ||
|
||
# this is the port where the user services (your application) will open | ||
# when running multiple services on your local machine, make sure that the ports unique | ||
USER_SERVICE_PORT=8081 | ||
|
||
# this variable defines the host where the kalix runtime (running in docker) | ||
# will reach the user service in local development | ||
USER_SERVICE_HOST=host.docker.internal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.