Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleSAMLphp using Docker Compose

CI

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.adminpassword from its default value of 123
  • Change secretsalt from its default value of secretsalt123
  • Set 'admin' => TRUE in module.enable

Because NGINX is listening for HTTP requests, you must also make the following changes in config.php:

  • Set session.cookie.secure to false
  • Set session.cookie.samesite to null
  • Set language.cookie.secure to false
  • Set language.cookie.samesite to null

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.

About

SimpleSAMLphp using Docker Compose.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages