Skip to content

Commit

Permalink
comment cas lines needed if oauth2.0 active
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanmi151 committed May 3, 2023
1 parent c2c9200 commit c78b7dd
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,12 @@ services:
- "traefik.http.middlewares.add-trailing-slash.redirectregex.replacement=https://$${1}/$${2}/"
- "traefik.http.middlewares.add-trailing-slash.redirectregex.permanent=false"


# uncomment for oauth 2.0
# cas:
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.cas.tls=true"
# - "traefik.http.routers.cas.rule=Host(`georchestra-127-0-1-1.traefik.me`) && PathPrefix(`/cas`)"
smtp:
image: camptocamp/smtp-sink:latest
volumes:
Expand Down
24 changes: 24 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,30 @@ services:
- .envs-ldap
- .envs-hosts
- .envs-database-georchestra


# uncomment for oauth 2.0
# cas:
# image: georchestra/cas:latest
# healthcheck:
# test: [ "CMD-SHELL", "curl -s -f http://localhost:8080/cas/login >/dev/null || exit 1" ]
# interval: 30s
# timeout: 10s
# retries: 10
# depends_on:
# ldap:
# condition: service_healthy
# volumes:
# - georchestra_datadir:/etc/georchestra
# environment:
# - JAVA_OPTIONS=-Dorg.eclipse.jetty.annotations.AnnotationParser.LEVEL=OFF
# - XMS=256M
# - XMX=1G
# env_file:
# - .envs-common
# - .envs-ldap
# - .envs-database-georchestra
# restart: always

header:
image: georchestra/header:latest
Expand Down

0 comments on commit c78b7dd

Please sign in to comment.