Skip to content

Commit

Permalink
feat: updated to docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-rm-meyer-ISST committed Nov 3, 2023
1 parent 7a442df commit 597dad0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion local/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
version: '1'
version: '2'
services:
puris-frontend-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

Networks Not Set Warning

There is no network declared for the service 'puris-frontend-customer'

Check warning

Code scanning / KICS

Pids Limit Not Set Warning

Pids_limit 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: puris-frontend:dev
Expand Down
4 changes: 2 additions & 2 deletions local/restart.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# restarts the docker-compose and kill images, that may need a full refresh

docker-compose down
docker compose down

# kill vault container that has been built with given secrets
docker image rm local-vault

docker-compose up
docker compose up

0 comments on commit 597dad0

Please sign in to comment.