Outils pour utilisateurs

Outils du site


fr:kaiwa

kaiwa

deploiement de l image sldap

 $ docker pull nickstenning/slapd
      $ docker run -d \
           --name ldap \
           -p 389:389 \
           -e LDAP_DOMAIN=myorga \
           -e LDAP_ORGANISATION=MyOrganisation \
           -e LDAP_ROOTPASS=mypassword \
           nickstenning/slapd
      $ wget https://raw.githubusercontent.com/digicoop/kaiwa-server/master/users.ldif
      $ sed 's/[email protected]/[email protected]/' -i users.ldif
      $ sed 's/[email protected]/[email protected]/' -i users.ldif
      $ sed 's/adminpass/mypassword/' -i users.ldif
      $ sed 's/user1pass/mypassword/' -i users.ldif
      $ sed 's/example.com/myorga/' -i users.ldif
      $ sed 's/ExampleDesc/MyOrgaDesc/' -i users.ldif
      $ sed 's/user1/bob/' -i users.ldif
      $ ldapadd -h localhost -x -D cn=admin,dc=myorga -w mypassword -f users.ldif
      
      
      

deploiement de l image docker du serveur kaiwa

$ docker pull sebu77/kaiwa-server
      $ docker run -d \
           -p 5222:5222 -p 5269:5269 -p 5280:5280 -p 5281:5281 -p 3478:3478/udp \
           --name kaiwa-server \
           --link postgres:postgres \
           --link ldap:ldap \
           -e XMPP_DOMAIN=myorga.com \
           -e DB_NAME=kaiwa \
           -e DB_USER=kaiwa \
           -e DB_PWD=mypassword \
           -e LDAP_HOST=container \
           -e LDAP_USER_BASE=ou=users,dc=myorga \
           -e LDAP_GROUP_BASE=ou=groups,dc=myorga \
           -e LDAP_DN=cn=admin,dc=myorga \
           -e LDAP_PWD=mypassword \
           -e LDAP_GROUP=myorgagroup \
           sebu77/kaiwa-server
           
           

deploiement de l interface web de kaiwa

$ docker pull sebu77/kaiwa
      $ docker run -d \
           -p 80:8000 \
           --name kaiwa \
           --link ldap:ldap \
           -e XMPP_NAME=" + data.org + " \
           -e XMPP_DOMAIN=myorga.com \
           -e XMPP_WSS=ws://myorga.com:5280/xmpp-websocket \
           -e XMPP_MUC=chat.myorga.com \
           -e XMPP_STARTUP=groupchat/home%40chat.myorga.com \
           -e XMPP_ADMIN=admin \
           -e LDAP_HOST=container \
           -e LDAP_USER_BASE=ou=users,dc=myorga \
           -e LDAP_GROUP_BASE=ou=groups,dc=myorga \
           -e LDAP_DN=cn=admin,dc=myorga \
           -e LDAP_PWD=mypassword \
           -e LDAP_GROUP=myorgagroup \
           sebu77/kaiwa
/home/freelab/domains/wikii.freelab.cc/public_html/data/pages/fr/kaiwa.txt · Dernière modification: 2017/09/23 14:02 (modification externe)