Nextcloud
Nextcloud server, a safe home for all your data.
- Follow the docs of
- Configuration inside ldap pod
dsidm --basedn ${DS_SUFFIX_NAME} --binddn "cn=Directory Manager" --bindpw ${DS_DM_PASSWORD} localhost user create --uid nextcloud_db --cn databases --displayName "Nextcloud Database" --uidNumber 1001 --gidNumber 1001 --homeDirectory /home/nextcloud_db dsidm --basedn ${DS_SUFFIX_NAME} --binddn "cn=Directory Manager" --bindpw ${DS_DM_PASSWORD} localhost account reset_password uid=nextcloud_db,ou=people,${DS_SUFFIX_NAME} # Add nextcloud accounts as needed dsidm --basedn ${DS_SUFFIX_NAME} --binddn "cn=Directory Manager" --bindpw ${DS_DM_PASSWORD} localhost user create --uid username --cn users --displayName "Max Mustermann" --uidNumber 1002 --gidNumber 1002 --homeDirectory /home/username dsidm --basedn ${DS_SUFFIX_NAME} --binddn "cn=Directory Manager" --bindpw ${DS_DM_PASSWORD} localhost account reset_password uid=username,ou=people,${DS_SUFFIX_NAME}
- Configuration inside database pod
psql -U postgres -h localhost -c "CREATE ROLE nextcloud_db WITH CREATEDB LOGIN;"
- Start the pod
podman kube play nextcloud-pvc.yaml podman kube play nextcloud-secret.yaml cp nextcloud-pod.kube ~/.config/containers/systemd/ systemctl --user daemon-reload systemctl --user start nextcloud-pod.service
- Setup https container
- Setup LDAP
- Host: ldap
- Port: 3389
- Basis-DN: dc=exploding-hamster,dc=duckdns.org
- Anmeldeattribute
- ↓ LDAP-Abfrage bearbeiten
- Hinzufügen von `(cn=users)
- Beispiel:
(&(|(objectclass=posixAccount))(uid=%uid))
zu(&(|(objectclass=posixAccount))(uid=%uid)(cn=users))
- Beispiel:
- Hinzufügen von `(cn=users)
- ↓ LDAP-Abfrage bearbeiten
- Add the persistent volumes to the borg backup client