Skip to content

Commit

Permalink
fix: removed latest-tag from dtr containers
Browse files Browse the repository at this point in the history
  • Loading branch information
eschrewe committed Feb 8, 2024
1 parent 5424b35 commit 9000072
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ public boolean registerAssetsInitially() {
log.info("Registration of item-stock response api successful " + (result = registerApiAsset(DT_ApiMethodEnum.RESPONSE)));
if (!result) return false;
log.info("Registration of item-stock status-request api successful " + (result = registerApiAsset(DT_ApiMethodEnum.STATUS_REQUEST)));
if(!result) return false;
if (!result) return false;
if (variablesService.isUseFrameworkPolicy()) {
log.info("Registration of framework agreement policy successful " + (result = createFrameWorkPolicy()));
} else {
log.info("Skipping registration of framework agreement policy");
}
if(!result) return false;
if (!result) return false;
log.info("Registration of DTR Asset successful " + (result = registerDtrAsset()));
return result;
}
Expand Down
4 changes: 2 additions & 2 deletions local/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ services:
- "host.docker.internal:host-gateway" # Adjusts container's host file to allow for communication with docker-host machine

dtr-customer:

Check warning

Code scanning / KICS

Healthcheck Not Set Warning

Healthcheck is not defined.

Check warning

Code scanning / KICS

Host Namespace is Shared Warning

There is no pid mode declared

Check warning

Code scanning / KICS

Memory Not Limited Warning

'deploy' is not defined

Check warning

Code scanning / KICS

Security Opt Not Set Warning

Docker compose file does not have 'security_opt' attribute

Check notice

Code scanning / KICS

Container Capabilities Unrestricted Note

Docker compose file doesn't have 'cap_drop' attribute. Make sure your container only has necessary capabilities.

Check notice

Code scanning / KICS

Cpus Not Limited Note

'deploy' is not defined
image: tractusx/sldt-digital-twin-registry:latest
image: tractusx/sldt-digital-twin-registry:0.3.23
container_name: dtr-customer
depends_on:
postgres-customer:
Expand Down Expand Up @@ -199,7 +199,7 @@ services:
- "host.docker.internal:host-gateway" # Adjusts container's host file to allow for communication with docker-host machine

dtr-supplier:

Check warning on line 201 in local/docker-compose.yaml

View workflow job for this annotation

GitHub Actions / Analyze

[MEDIUM] Healthcheck Not Set

Check containers periodically to see if they are running properly.

Check warning

Code scanning / KICS

Healthcheck Not Set Warning

Healthcheck is not defined.

Check warning

Code scanning / KICS

Host Namespace is Shared Warning

There is no pid mode declared

Check warning

Code scanning / KICS

Memory Not Limited Warning

'deploy' is not defined

Check warning

Code scanning / KICS

Security Opt Not Set Warning

Docker compose file does not have 'security_opt' attribute

Check notice

Code scanning / KICS

Container Capabilities Unrestricted Note

Docker compose file doesn't have 'cap_drop' attribute. Make sure your container only has necessary capabilities.

Check notice

Code scanning / KICS

Cpus Not Limited Note

'deploy' is not defined
image: tractusx/sldt-digital-twin-registry:latest
image: tractusx/sldt-digital-twin-registry:0.3.23
container_name: dtr-supplier
depends_on:
postgres-supplier:
Expand Down

0 comments on commit 9000072

Please sign in to comment.