Skip to content

Commit

Permalink
Removed chmod 777 from run-docker-compose.sh; added entrypoint with…
Browse files Browse the repository at this point in the history
… `sh`, no executed right requested; commented unused log handled in proxy_conf
  • Loading branch information
MdreW committed Feb 21, 2025
1 parent 6914dbb commit 9fea892
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
cat Docker-compose/satosa-project/metadata/sp/djangosaml2_sp.xml
- name: Inspect Satosa status
run: |
docker container inspect iam-proxy-italia
docker container logs iam-proxy-italia
docker container inspect iam-proxy-italia-satosa-1
docker container logs iam-proxy-italia-satosa-1
- name: Copy Satosa IDP Metadata to djangosaml2 SP
run: |
wget -vd --no-check-certificate https://localhost/Saml2IDP/metadata -O Docker-compose/djangosaml2_sp/saml2_sp/saml2_config/iam-proxy-italia.xml
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ RUN poetry install
RUN poetry add setuptools

WORKDIR $BASEDIR/
ENTRYPOINT ["sh", "entrypoint.sh"]
Empty file modified example/entrypoint.sh
100644 → 100755
Empty file.
16 changes: 8 additions & 8 deletions example/proxy_conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@ LOGGING:
syslog:
format: "[SATOSA] [%(name)s] [%(levelname)s]: %(message)s"
handlers:
spid_daily:
class: logging.handlers.TimedRotatingFileHandler
level: INFO
formatter: simple
filename: logs/spid.log
when: D
interval: 1
backupCount: 860
syslog:
class: logging.handlers.SysLogHandler
level: INFO
Expand All @@ -67,6 +59,14 @@ LOGGING:
level: DEBUG
formatter: simple
stream: ext://sys.stdout
# spid_daily:
# class: logging.handlers.TimedRotatingFileHandler
# level: INFO
# formatter: simple
# filename: logs/spid.log
# when: D
# interval: 1
# backupCount: 860
# saml2_debug_file:
# class: logging.handlers.RotatingFileHandler
# level: DEBUG
Expand Down

0 comments on commit 9fea892

Please sign in to comment.