docker-simplesamlphp
docker-simplesamlphp copied to clipboard
SimpleSAMLphp using Docker Compose.
SimpleSAMLphp using Docker Compose
Run SimpleSAMLphp using nginx, php-fpm, and Docker Compose.
Installing
$ git clone https://github.com/mschwager/docker-simplesamlphp.git
$ cd docker-simplesamlphp
$ docker-compose build
$ ./bootstrap.sh
Running
$ docker-compose up
Then you should be able to visit http://localhost/simplesaml/index.php.
Configuration
Configuration files are persistently stored and made available for editing in the .storage directory.
To enable the admin interface you must make the following changes in config.php:
- Change
auth.adminpasswordfrom its default value of123 - Change
secretsaltfrom its default value ofsecretsalt123 - Set
'admin' => TRUEinmodule.enable
Because NGINX is listening for HTTP requests, you must also make the following changes in config.php:
- Set
session.cookie.securetofalse - Set
session.cookie.samesitetonull - Set
language.cookie.securetofalse - Set
language.cookie.samesitetonull
WARNING: If you're running these containers in a production-like environment be sure to enable HTTPS and change these settings back to their default values.
You can then visit http://localhost/simplesaml/module.php/admin/.
From here, you can follow the next steps for configuring SP and/or IdP functionality.