mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-07-19 20:14:17 -04:00
Start the ldap server from the entrypoint
This commit is contained in:
@@ -53,13 +53,7 @@ docker-compose exec ocis ./bin/ocis list
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
2. Start the ldap authentication
|
||||
|
||||
```
|
||||
docker-compose exec -d ocis /start-ldap
|
||||
```
|
||||
|
||||
3. Configure to use eos storage driver instead of default storage driver
|
||||
2. Configure to use eos storage driver instead of default storage driver
|
||||
|
||||
- kill the home storage and data providers. we need to switch them to the eoshome driver:
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
make build
|
||||
/start-ldap &
|
||||
|
||||
exec bin/ocis server
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
LDAP_BINDDN=${LDAP_BINDDN:-cn=reva,ou=sysusers,dc=example,dc=org}
|
||||
LDAP_BINDPW=${LDAP_BINDPW:-reva}
|
||||
|
||||
echo "Waiting for EOS MGM"
|
||||
echo "until nc -z -w 3 $EOS_MGM_ALIAS 1094; do sleep 2; done;" > /wait-for-mgm
|
||||
chmod +x /wait-for-mgm
|
||||
|
||||
Reference in New Issue
Block a user