tweaking parameters to allow connection on ninegate
This commit is contained in:
parent
96d79adb77
commit
a8226e2942
4
env/.env
vendored
4
env/.env
vendored
@ -26,7 +26,7 @@ MASTERIDENTITY=SQL
|
||||
|
||||
# AUTHENTIFICATION
|
||||
# SQL or CAS (todo LDAP or OPENID)
|
||||
MODE_AUTH=SQL
|
||||
MODE_AUTH=CAS
|
||||
|
||||
# NINEAPACHE
|
||||
# Il sert de reverse proxy
|
||||
@ -108,7 +108,7 @@ CAS_ACTIVATE=${KEYCLOAK_ACTIVATE}
|
||||
CAS_USER=${ADMIN_USER}-keycloak
|
||||
CAS_PASSWORD=${ADMIN_PASSWORD}-keycloak
|
||||
CAS_HOST=${WEB_URL}
|
||||
CAS_PORT=8999
|
||||
CAS_PORT=443
|
||||
CAS_PATH=/auth/realms/nine/protocol/cas
|
||||
CAS_URL=${PROTOCOLE}://${CAS_HOST}:${CAS_PORT}
|
||||
|
||||
|
@ -9,9 +9,6 @@
|
||||
env_file: ./services/40-keycloak/env/.env.merge
|
||||
networks:
|
||||
- nine-network
|
||||
ports:
|
||||
- 8999:8999
|
||||
- 8443:8443
|
||||
volumes:
|
||||
- ./services/40-keycloak/volume/realm:/opt/keycloak/data/import
|
||||
- ./services/40-keycloak/volume/nine:/nine
|
||||
|
2
services/40-keycloak/env/.env
vendored
2
services/40-keycloak/env/.env
vendored
@ -12,7 +12,7 @@ KC_DB_PASSWORD=${MARIADB_PASSWORD}
|
||||
KC_HTTPS_CERTIFICATE_FILE=/nine/server.crt.pem
|
||||
KC_HTTPS_CERTIFICATE_KEY_FILE=/nine/server.key.pem
|
||||
KC_HOSTNAME_PATH=/auth
|
||||
#KC_HOSTNAME=nine.local
|
||||
KC_HOSTNAME=nine.local
|
||||
KC_PROXY_ADDRESS_FORWARDING=true
|
||||
KC_PROXY_HEADERS=xforwarded
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user