mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-06-08 20:20:04 +08:00
feat: make ldap-server volumes configurable
This commit is contained in:
@@ -114,6 +114,9 @@ LOG_LEVEL=
|
|||||||
# NOTE: you need to restart the openCloud container to load the new extensions.
|
# NOTE: you need to restart the openCloud container to load the new extensions.
|
||||||
# OC_APPS_DIR=/your/local/opencloud/apps
|
# OC_APPS_DIR=/your/local/opencloud/apps
|
||||||
|
|
||||||
|
# If you're using an external IdP and don't want to use standard docker volumes for ldap-server, you can define local paths here
|
||||||
|
# LDAP_CERTS_DIR=
|
||||||
|
# LDAP_DATA_DIR=
|
||||||
|
|
||||||
# S3 Storage configuration - optional
|
# S3 Storage configuration - optional
|
||||||
# OpenCloud supports S3 storage as primary storage.
|
# OpenCloud supports S3 storage as primary storage.
|
||||||
|
|||||||
@@ -66,12 +66,13 @@ services:
|
|||||||
# Use the custom schema from opencloud because we are in full control of the ldap server
|
# Use the custom schema from opencloud because we are in full control of the ldap server
|
||||||
- ./config/ldap/schemas/10_opencloud_schema.ldif:/schemas/10_opencloud_schema.ldif
|
- ./config/ldap/schemas/10_opencloud_schema.ldif:/schemas/10_opencloud_schema.ldif
|
||||||
- ./config/ldap/docker-entrypoint-override.sh:/opt/bitnami/scripts/openldap/docker-entrypoint-override.sh
|
- ./config/ldap/docker-entrypoint-override.sh:/opt/bitnami/scripts/openldap/docker-entrypoint-override.sh
|
||||||
- ldap-certs:/opt/bitnami/openldap/share
|
- ${LDAP_CERTS_DIR:-ldap-certs}:/opt/bitnami/openldap/share
|
||||||
- ldap-data:/bitnami/openldap
|
- ${LDAP_DATA_DIR:-ldap-data}:/bitnami/openldap
|
||||||
keycloak:
|
keycloak:
|
||||||
volumes:
|
volumes:
|
||||||
- "./config/keycloak/docker-entrypoint-override.sh:/opt/keycloak/bin/docker-entrypoint-override.sh"
|
- "./config/keycloak/docker-entrypoint-override.sh:/opt/keycloak/bin/docker-entrypoint-override.sh"
|
||||||
- "./config/keycloak/opencloud-realm-autoprovisioning.dist.json:/opt/keycloak/data/import-dist/opencloud-realm.json"
|
- "./config/keycloak/opencloud-realm-autoprovisioning.dist.json:/opt/keycloak/data/import-dist/opencloud-realm.json"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
ldap-certs:
|
ldap-certs:
|
||||||
ldap-data:
|
ldap-data:
|
||||||
|
|||||||
Reference in New Issue
Block a user