Open MdreW opened 3 weeks ago
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Added TZ in docker compose, update satosa Dockerfile to support this. a little optimization of Dockerfile RUN
[ranaldi@andrea-ranaldi-p Satosa-Saml2Spid]$ docker run -tie TZ=Europe/Berlin satosa bash
126b80233e9b:/satosa_proxy# date
Wed Aug 28 17:05:22 CEST 2024
[ranaldi@andrea-ranaldi-p Satosa-Saml2Spid]$ docker run -tie TZ=Australia/Melbourne satosa bash
7c1efed81ada:/satosa_proxy# date
Thu Aug 29 01:05:39 AEST 2024
I have added profiles demo to start all services and dataentry for add mongo-express service. Nginx, satosa and mongo are every started for production.
I have update update run-docker-compose.sh
to start demo
profile as default, dataentry
and production
profiles are optional. I have added also an option to skip docker image update and compile -s
.
### run-docker-compose.sh ###
initialize check update and start Satosa-Saml2Spid
Option
-f Force clean and reinitialize data for Satosa, MongoDB and Djangosaml2_SP
-h Print this help
-p Set production profile: start satosa, nginx, mongo
-s Skip docker image update
-d Set data entry profile: start satosa, nginx, mongo, mongo-express
if isn't set -d or -p defatult demo profile is started
default demo profile start: satosa, nginx, mongo, mongo-express, django-sp, spid-saml-check
At last I have update ./stop-docker-compose.sh
to stop all profiles and remove orphan containers, but we can add an option to stop also only specific profiles.
@Zicchio you can try this on windows?
This is an example for a docker compose without static volumes, has only example scope
-f
option for clean old dp/application data and reinitialize the sistem-h
option for print helprun-docker-compose.sh
initialize and start Satosa-Saml2Spid
Option -f Force clean and reinitialize data for Satosa, MongoDB and Djangosaml2_SP -h Print this help