Skip to content

Commit

Permalink
fix: docker setup instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe De Marco authored Aug 27, 2024
1 parent c19d788 commit cb45f4b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
12 changes: 12 additions & 0 deletions Docker-compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

In order to execute the run script you need:

* docker
* jq
* docker-compose

Expand All @@ -25,6 +26,17 @@ sudo apt install jq docker-compose

For docker-compose you can also [see here](https://docs.docker.com/compose/install/other/).

### Satosa-Saml2SPID Docker Image

The official Satosa-Saml2SPID docker image is available at
[italia/satosa-saml2spid](https://ghcr.io/italia/satosa-saml2spid).

To install it, you can execute the following command: `sudo docker pull ghcr.io/italia/satosa-saml2spid:latest`.

Otherwise you can build the image executing the following command: `docker build -t satosa-saml2spid .`.

Then you can even inspect the image content, by running the following command: `docker run -it -v $(pwd)/example:/satosa_proxy --entrypoint sh satosa-saml2spid`.

## Run the composition

1. Copy/pull Satosa-Saml2Spid project locally.
Expand Down
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,20 +94,11 @@ If you want to deploy Satosa-Saml2SPID without using Docker, all the setup instr

This project uses Docker, all the instructions to configure this project using the official docker images are available [here](Docker-compose/README.md).

The docker compose may use the [enviroment variables](README-Setup.md#configuration-by-environment-variables)
The docker compose uses the enviroment variables as documented [here](README-Setup.md#configuration-by-environment-variables)
to configure Satosa-Saml2Spid.

<img src="gallery/docker-design.svg" width="512">

The official Satosa-Saml2SPID docker image is available at
[italia/satosa-saml2spid](https://ghcr.io/italia/satosa-saml2spid).

To install it, you can execute the following command: `sudo docker pull ghcr.io/italia/satosa-saml2spid:latest`.

Otherwise you can build the image executing the following command: `docker build -t satosa-saml2spid .`.

Then you can even inspect the image content, by running the following command: `docker run -it -v $(pwd)/example:/satosa_proxy --entrypoint sh satosa-saml2spid`.


### Setup a Djangosaml2 example Service Provider

Expand Down

0 comments on commit cb45f4b

Please sign in to comment.