Skip to content

Instantly share code, notes, and snippets.

View Bouni's full-sized avatar
🦥

bouni Bouni

🦥
View GitHub Profile
tinyauth | 2026-06-08T14:03:28+02:00 INF Attempting to reconnect to LDAP server stream=app
tinyauth | panic: runtime error: invalid memory address or nil pointer dereference
tinyauth | [signal SIGSEGV: segmentation violation code=0x1 addr=0x70 pc=0x1241e41]
tinyauth |
tinyauth | goroutine 1 [running]:
tinyauth | internal/sync.(*Mutex).Lock(...)
tinyauth | /usr/local/go/src/internal/sync/mutex.go:63
tinyauth | sync.(*Mutex).Lock(...)
tinyauth | /usr/local/go/src/sync/mutex.go:46
tinyauth | github.com/go-ldap/ldap/v3.(*Conn).Close(0x0)
lldap | 2026-06-08T08:51:18.503788085+00:00 INFO set_up_server [ 107ms | 100.00% ]
lldap | 2026-06-08T08:51:18.505072184+00:00 INFO ┝━ i [info]: Starting LLDAP version 0.6.3
lldap | 2026-06-08T08:51:18.637148385+00:00 INFO ┝━ i [info]: Starting the LDAP server on port 3890
lldap | 2026-06-08T08:51:18.637953969+00:00 INFO ┕━ i [info]: Starting the API/web server on port 17170
lldap | 2026-06-08T08:51:18.639942912+00:00 INFO i [info]: starting 1 workers
lldap | 2026-06-08T08:51:18.641177572+00:00 INFO i [info]: Actix runtime found; starting in Actix runtime
lldap | 2026-06-08T08:51:18.641184476+00:00 INFO i [info]: starting service: "ldap", workers: 1, listening on: 0.0.0.0:3890
lldap | 2026-06-08T08:51:18.641187499+00:00 INFO i [info]: starting service: "http", workers: 1, listening on: 0.0.0.0:17170
lldap | 2026-06-08T08:51:18.666563545+00:00 INFO i [info]: DB Cleanup Cron started
lldap | 2026-06-08T08:51:23.276353599+00:00 INFO i [info]: LDAP sessio
---
services:
tinyauth:
container_name: tinyauth
image: ghcr.io/steveiliop56/tinyauth:v5
env_file:
- /opt/docker/tinyauth/tinyauth.env
volumes:
- /opt/docker/tinyauth/data:/data
- /opt/docker/tinyauth/users_file:/tinyauth/users_file
@Bouni
Bouni / notes.txt
Created June 3, 2025 09:55
RPi Kiosk
sudo apt update && sudo apt upgrade -y
sudo apt install -y lightdm openbox chromium-browser unclutter xorg
sudo nano /etc/lightdm/lightdm.conf
[Seat:*]
autologin-user=pi
autologin-user-timeout=0
user-session=openbox
@Bouni
Bouni / wallboard-setup.sh
Last active March 16, 2026 09:33
A script to setup a minimal wallboard that displays a webpage in a fullscreen chromium with a RaspberryPi
#!/bin/sh
if [ "$(id -u)" -ne 0 ]; then
echo "Run script with sudo!"
echo "sudo ./wallboard-setup.sh"
exit 1
fi
update_system() {
# System upgrade and dependency installation
@Bouni
Bouni / dump.py
Created May 28, 2025 13:03
RPi levelDB
import plyvel
db = plyvel.DB('./Default/Local Storage/leveldb', create_if_missing=False)
for key, value in db:
print(key, value)
db.close()
@Bouni
Bouni / config.env
Created May 22, 2025 07:35
Env file for Alamos FE2
# Lizenz-E-Mail Adresse
FE2_EMAIL=alamos@feuerwehr-musterstadt.de
# Lizenz-E-Mail Password
FE2_PASSWORD="s7QZ060q5QvyfJ1qtW3Dx@LBn8^3lHR*"
# Gewünschter Aktivierungsname
FE2_ACTIVATION_NAME=FE2-Docker
# Die nachfolgenden Werte müssen in der Regel nicht angepasst werden.
@Bouni
Bouni / Caddyfile
Created May 22, 2025 07:29
Caddyfile for Alamos FE2
{
admin off
log {
format console
}
}
alamos.feuerwehr-musterstadt.de {
reverse_proxy alamos-fe2-server:83
}
@Bouni
Bouni / docker-compose.yaml
Created May 22, 2025 07:25
Docker Compose file for Alamos FE2 + Caddy
services:
caddy:
container_name: caddy
image: caddy
volumes:
- /opt/docker/caddy/Caddyfile:/etc/caddy/Caddyfile
- /opt/docker/caddy/data:/data
- /opt/docker/caddy/config:/config
restart: unless-stopped
@Bouni
Bouni / cloud-init.yml
Last active May 21, 2025 13:42
Cloud init for Hetzner Alamos instance
#cloud-config
locale: de_DE.UTF-8
keyboard:
layout: de
variant: ""
model: pc105
write_files: