Authenticate Jellyfin with lldap

services: lldap: image: lldap/lldap:stable container_name: lldap ports: # For LDAP, not recommended to expose #- 3890:3890 # For web front-end - 17170:17170 volumes: - lldap_data:/data environment: - UID=1000 - GID=1000 - TZ=TZ identifier - LLDAP_JWT_SECRET=REPLACE_WITH_RANDOM - LLDAP_LDAP_USER_PASS=REPLACE_WITH_PASSWORD - LLDAP_KEY_SEED=REPLACE_WITH_RANDOM - LLDAP_LDAP_BASE_DN=dc=example,dc=com restart: unless-stopped volumes: lldap_data: external: true Create a persistent volume: sudo docker volume create lldap_data Start LLDAP sudo docker compose up -d Create a group to be used by Jellyfin. In this example, a group called media is created. Then add users to the group. ...

September 18, 2024

Reverse Proxy with Caddy Docker

compose.yaml services: caddy: image: caddy container_name: caddy restart: unless-stopped environment: - TZ=TZ identifier ports: - 80:80 - 443:443 - 443:443/udp volumes: - ./Caddyfile:/etc/caddy/Caddyfile networks: - caddynet networks: caddynet: external: true Caddyfile example.com { reverse_proxy 127.0.0.1:8080 } Create a “caddynet” docker network: sudo docker network create proxy. Start the container in background: sudo docker compose up -d. Reload new configurations: sudo docker exec -w /etc/caddy caddy caddy reload.

September 18, 2024