Skip to content

smitley/docker-simplesamlphp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-simplesamlphp

simpleSAMLphp server hosted in Docker.

Prerequisites

Docker

Installation

Clone repo to get demo config data and update saml20-sp-remote.php to point to your SP

git clone https://github.com/jwiebalk/docker-simplesamlphp.git
cd docker-simplesamlphp

Prerequisites

Install from DockerHub

Rather than build it yourself, the full container is available on DockerHub

sudo docker pull jwiebalk/simplesamlphp
sudo docker run -d -p 8080:80 -p 8444:443 jwiebalk/simplesamlphp

To access simpleSAMLphp from the host server:

http://localhost:8080/simplesaml/

username: admin
password: password

To use your own/example configs stored on the host in /var/simplesamlphp

sudo docker run -d -p 8080:80 -p 8444:443 \
-v /GitHub/docker-simplesamlphp/etc/simplesamlphp/config/:/var/simplesamlphp/config/ -v /GitHub/docker-simplesamlphp/etc/simplesamlphp/metadata/:/var/simplesamlphp/metadata/ jwiebalk/simplesamlphp

Build the Package and Publish it to Dockerhub

Build the container locally

git clone https://github.com/jwiebalk/docker-simplesamlphp.git
cd docker-simplesamlphp
sudo docker build --rm=true -t simplesamlphp .

Adding ServiceProvider notes

For the saml20-sp-remote.php file this can be created using the XML to SimpleSAMLphp metadata converter and pasting in the metadata from your SP such as https://{ghe-instance}/saml/metadata

About

simpleSAMLphp hosted in Docker.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 95.4%
  • ApacheConf 4.6%