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
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Start the ldap authentication
|
2. Configure to use eos storage driver instead of default storage driver
|
||||||
|
|
||||||
```
|
|
||||||
docker-compose exec -d ocis /start-ldap
|
|
||||||
```
|
|
||||||
|
|
||||||
3. 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:
|
- kill the home storage and data providers. we need to switch them to the eoshome driver:
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
make build
|
make build
|
||||||
|
/start-ldap &
|
||||||
|
|
||||||
exec bin/ocis server
|
exec bin/ocis server
|
||||||
@@ -1,5 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/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 "Waiting for EOS MGM"
|
||||||
echo "until nc -z -w 3 $EOS_MGM_ALIAS 1094; do sleep 2; done;" > /wait-for-mgm
|
echo "until nc -z -w 3 $EOS_MGM_ALIAS 1094; do sleep 2; done;" > /wait-for-mgm
|
||||||
chmod +x /wait-for-mgm
|
chmod +x /wait-for-mgm
|
||||||
|
|||||||
Reference in New Issue
Block a user