Skip to content

Adds comments to .properties files to not change port when using in docker container #637

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8081
spring.application.name=AAS Discovery Service
basyx.aasdiscoveryservice.name=aas-discovery-service
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8081
spring.application.name=AAS Environment

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ logging:
root: INFO
server:
shutdown: graceful
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker
port: 8080
error:
whitelabel:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8081
server.error.path=/error

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8081
spring.application.name=AASX File Server

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8081
spring.application.name=Concept Description Repository
basyx.cdrepo.name = cd-repo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ services:
image: submodel-registry-test/submodel-registry-feature-hierarchy-example:2.0.0-SNAPSHOT
container_name: submodel-registry-root
ports:
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker
- "8051:8080"
environment:
SERVER_SERVLET_CONTEXT_PATH: /
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ logging:
root: INFO
server:
shutdown: graceful
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker
port: 8080
error:
whitelabel:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8081
server.error.path=/error

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8081

spring.application.name=Submodel Repository
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8081

spring.application.name=Submodel Service
Expand Down
4 changes: 4 additions & 0 deletions ci/rules/sm-repo.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8081
basyx.backend=InMemory
basyx.cors.allowed-origins=*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8087
spring.application.name=examples.basyxclient
4 changes: 4 additions & 0 deletions examples/BaSyxClient/config/aas-env.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8081
basyx.backend=InMemory
basyx.cors.allowed-origins=*
Expand Down
4 changes: 4 additions & 0 deletions examples/BaSyxDatabridge/basyx/aas-env.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8081
basyx.backend=InMemory
basyx.environment=file:aas
Expand Down
4 changes: 4 additions & 0 deletions examples/BaSyxDynamicRBAC/basyx/aas-discovery.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8081
spring.application.name=AAS Discovery Service
basyx.aasdiscoveryservice.name=aas-discovery-service
Expand Down
4 changes: 4 additions & 0 deletions examples/BaSyxDynamicRBAC/basyx/aas-env.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8081
basyx.backend=InMemory
basyx.environment=file:aas
Expand Down
4 changes: 4 additions & 0 deletions examples/BaSyxDynamicRBAC/basyx/security-sm.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8081
basyx.backend = MongoDB
spring.data.mongodb.uri = mongodb://mongoAdmin:mongoPassword@mongo:27017/security-sm?authSource=admin
Expand Down
4 changes: 4 additions & 0 deletions examples/BaSyxMinimal/aas-discovery.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8081
spring.application.name=AAS Discovery Service
basyx.aasdiscoveryservice.name=aas-discovery-service
Expand Down
4 changes: 4 additions & 0 deletions examples/BaSyxMinimal/aas-env.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8081

basyx.backend = MongoDB
Expand Down
4 changes: 4 additions & 0 deletions examples/BaSyxMinimal/cd-repo.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8081

spring.application.name=Concept Description Repository
Expand Down
4 changes: 4 additions & 0 deletions examples/BaSyxNGINX/basyx/aas-discovery.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8081
spring.application.name=AAS Discovery Service
basyx.aasdiscoveryservice.name=aas-discovery-service
Expand Down
4 changes: 4 additions & 0 deletions examples/BaSyxNGINX/basyx/aas-env.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.
# This port should only be changed when running the application without Docker.

server.port=8081

basyx.backend = InMemory
Expand Down
3 changes: 3 additions & 0 deletions examples/BaSyxOperationDelegation/basyx/aas-env.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.

server.port=8081
basyx.backend=InMemory
basyx.environment=file:aas
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.

server.port=8080
spring.application.name=examples.operationdelegation
3 changes: 3 additions & 0 deletions examples/BaSyxSecured/basyx/aas-discovery.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.

server.port=8081
spring.application.name=AAS Discovery Service
basyx.aasdiscoveryservice.name=aas-discovery-service
Expand Down
3 changes: 3 additions & 0 deletions examples/BaSyxSecured/basyx/aas-env.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Do NOT change any port while running in a Docker container.
# Changing this will make the service unreachable from outside the container.

server.port=8081
basyx.backend=InMemory
basyx.environment=file:aas
Expand Down