https://github.com/mschwager/docker-simplesamlphp
SimpleSAMLphp using Docker Compose.
https://github.com/mschwager/docker-simplesamlphp
idp saml simplesamlphp sp
Last synced: 5 days ago
JSON representation
SimpleSAMLphp using Docker Compose.
- Host: GitHub
- URL: https://github.com/mschwager/docker-simplesamlphp
- Owner: mschwager
- License: apache-2.0
- Created: 2017-12-27T16:30:00.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-18T19:18:03.000Z (over 2 years ago)
- Last Synced: 2025-05-13T14:33:42.823Z (9 months ago)
- Topics: idp, saml, simplesamlphp, sp
- Language: Dockerfile
- Size: 22.5 KB
- Stars: 18
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SimpleSAMLphp using Docker Compose
[](https://github.com/mschwager/docker-simplesamlphp/actions/workflows/ci.yml)
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](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/](http://localhost/simplesaml/module.php/admin/).
From here, you can follow the [next steps](https://simplesamlphp.org/docs/stable/simplesamlphp-install.html#next-steps) for configuring SP and/or IdP functionality.