mirror of
https://github.com/suitenumerique/messages.git
synced 2026-08-17 21:25:41 +02:00
In some case, a user can be authenticated on the identity provider but do not have account on Messages. In this precise case, we know display a toast to explicit what's wrong.
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
# App database configuration
|
|
DB_HOST=postgresql
|
|
|
|
# Redis configuration
|
|
REDIS_URL=redis://redis:6379
|
|
CELERY_BROKER_URL=redis://redis:6379
|
|
|
|
# OpenSearch configuration
|
|
OPENSEARCH_URL=http://opensearch:9200
|
|
|
|
# OIDC
|
|
OIDC_OP_JWKS_ENDPOINT=http://keycloak:8802/realms/messages/protocol/openid-connect/certs
|
|
OIDC_OP_AUTHORIZATION_ENDPOINT=http://keycloak:8802/realms/messages/protocol/openid-connect/auth
|
|
OIDC_OP_TOKEN_ENDPOINT=http://keycloak:8802/realms/messages/protocol/openid-connect/token
|
|
OIDC_OP_USER_ENDPOINT=http://keycloak:8802/realms/messages/protocol/openid-connect/userinfo
|
|
|
|
OIDC_REDIRECT_ALLOWED_HOSTS=keycloak:8802,proxy
|
|
|
|
LOGIN_REDIRECT_URL=http://proxy
|
|
LOGIN_REDIRECT_URL_FAILURE=http://proxy
|
|
LOGOUT_REDIRECT_URL=http://proxy
|
|
|
|
# Keycloak
|
|
KEYCLOAK_URL=http://keycloak:8802
|
|
|
|
# Object storage configuration
|
|
STORAGE_MESSAGE_IMPORTS_ENDPOINT_URL=http://objectstorage:9000
|
|
AWS_S3_DOMAIN_REPLACE=
|
|
|
|
# Email configuration (use mailcatcher from main services or disable)
|
|
EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend
|
|
|
|
# Debug
|
|
DJANGO_DEBUG=True
|