Skip to content

Commit e0b980e

Browse files
committed
Added certification set up for the BE container
1 parent c165036 commit e0b980e

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

docker/docker-compose-rest.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,16 @@ services:
9696
# This will create a symlink from the webapps directory to the server directory with the custom namespace
9797
# (e.g. /dspace/webapps/server -> /dspace/webapps/repository#server)
9898
# removed from `while`, because: not needed here
99-
# There is problem in the database when `database migrate` is called here and then from the import run from the
99+
# There is problem in the database when `database migrate` is called here and then from the
100100
# `deploy action`
101101
# /dspace/bin/dspace database migrate force
102102
# /dspace/bin/start-handle-server
103103
- |
104+
apt update
105+
apt install -y ldap-utils
106+
mkdir -p /etc/ldap
107+
echo "TLS_CACERT /etc/ssl/certs/ca-certificates.crt" >> /etc/ldap/ldap.conf
108+
export LDAPTLS_CACERT=/etc/ssl/certs/ca-certificates.crt
104109
./custom_run.sh
105110
# DSpace Solr container
106111
dspacesolr:

0 commit comments

Comments
 (0)