Files
homey/README.org
T
2025-03-26 12:27:47 +02:00

2.5 KiB
Raw Blame History

Homey

A home environment for everyone!

Installation

Install using

helm upgrade --install homey . -n homey

Backing up

We must find a better solution

https://perfectmediaserver.com/day-two/top10apps.html

Nefarious

LDAP Configuration

Logins are done to PHPLDAPADMIN

DN is like:

cn=admin,dc=home,dc=,dc=io get-secret-val.sh homey openldap-admin password

First thing we do is create an organization unit called users

To add a new user, we create a child entry to ou=users

It has to be of type inetOrgPerson

cn = Common Name, sn = Sur Name. Select RDN = User Name (uid) (FROM DROP DOWN MENU) UID = USERNAME, that is what is important. (In PHPLdapAdmin it is under User Name)

Now we may continue!

GITEA

Site Title: whatever

SSH Server Domain: git.<YOUR URL> SSH Server Port: 2222 Gitea Base URL: http://git.<YOUR URL>

Then add Administrator Account Settings:

Administrator Username: gitea-admin Password: from gitea-admin-pass Email address must be populated

That will work after a few minutes.

Now we go into Authentication Sources

Add a new LDAP Authentication source

Authentication name: Home LDAP Host: openldap Port: 389 Bind DN = cn=readonly,dc=home,dc=,dc=io Bind Password: openldap-ro password User Search Base: ou=users,dc=home,dc=,dc=io user search filter = (uid=%s) Admin filter (title=admin) Username Attribute: uid First Name Attribute: cn Surname Attribute: sn Email Attribute: mail

NEXTCLOUD

I ran THIS command inside su www-data -s /bin/bash -c php occ ldap:promote-group "admins"

When maintenence mode

#+begin_example kubectl exec tty stdin -n homey deploy/nextcloud su -l www-data -s /bin/bash php /var/www/html/occ maintenance:mode off

#+end_src

I UNDERSTAND

I need to backup Chen's stuff And… I need to Jellyfin