Skip to content

Commit

Permalink
fix: spid-saml-check tls check demo (#153)
Browse files Browse the repository at this point in the history
* fix: spid-saml-check TLS workaround and compose version deprecation removed

* -fix: rm docker volume removing deprecated command

* fix: README docker compose removed deprecated dependency

* fix: add docker compose ENV for NODE_TLS_REJECT_UNAUTHORIZED
  • Loading branch information
peppelinux committed Aug 29, 2024
1 parent c47f969 commit 22c2595
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Docker-compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ In order to execute the run script you need:

* docker
* jq
* docker-compose
* docker version 3

Installation example in Ubuntu:

```
sudo apt install jq docker-compose
sudo apt install jq
```

For docker-compose you can also [see here](https://docs.docker.com/compose/install/other/).
Expand Down
3 changes: 2 additions & 1 deletion Docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3'
services:
satosa-mongo:
image: mongo
Expand Down Expand Up @@ -146,6 +145,8 @@ services:
spid-samlcheck:
image: italia/spid-saml-check
container_name: spid-samlcheck
environment:
- NODE_TLS_REJECT_UNAUTHORIZED=${NODE_TLS_REJECT_UNAUTHORIZED:-0}
ports:
- "8443:8443"
networks:
Expand Down
2 changes: 1 addition & 1 deletion Docker-compose/rm-persistent-volumes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ echo -e "\n"
echo -e "Inizio le procedure per fare il down della composizione e poi CANCELLARE i volumi persistenti! \n"

echo -e "Fermo la composizione! \n"
docker-compose -f docker-compose.yml down -v;
docker compose -f docker-compose.yml down -v;

echo -e "\n"

Expand Down

0 comments on commit 22c2595

Please sign in to comment.