• 7 Posts
  • 62 Comments
Joined 7 months ago
cake
Cake day: February 8th, 2025

help-circle


  • Something else must be wrong then because I just copied and pasted that onto my raspberry pi and was able to start the container without issue, are you sure you’re using the tag properly?

    user@raspberrypi:~/test $ sudo docker compose up 
    [+] Running 10/10
      lidarr Pulled                                                           22.0s 
        995f2a46b147 Pull complete                                             2.7s 
        e1cde46db0e1 Pull complete                                             3.1s 
        acaee427f4c7 Pull complete                                             3.5s 
        255c3937324a Pull complete                                             4.1s 
        edec534df16f Pull complete                                             4.6s 
        b163a490af0b Pull complete                                             6.3s 
        bd4af268fa91 Pull complete                                             6.8s 
        ff4dab968553 Pull complete                                            14.9s 
        004112d930a4 Pull complete                                            15.3s 
    [+] Running 2/2
      Network test_default  Created                                            0.2s 
      Container lidarr      Created                                            4.0s 
    Attaching to lidarr
    lidarr  | [migrations] started
    lidarr  | [migrations] no migrations found
    lidarr  | ───────────────────────────────────────
    lidarr  | 
    lidarr  |       ██╗     ███████╗██╗ ██████╗
    lidarr  |       ██║     ██╔════╝██║██╔═══██╗
    lidarr  |       ██║     ███████╗██║██║   ██║
    lidarr  |       ██║     ╚════██║██║██║   ██║
    lidarr  |       ███████╗███████║██║╚██████╔╝
    lidarr  |       ╚══════╝╚══════╝╚═╝ ╚═════╝
    lidarr  | 
    lidarr  |    Brought to you by linuxserver.io
    lidarr  | ───────────────────────────────────────
    lidarr  | 
    lidarr  | To support the app dev(s) visit:
    lidarr  | Lidarr: https://opencollective.com/lidarr
    lidarr  | 
    lidarr  | To support LSIO projects visit:
    lidarr  | https://www.linuxserver.io/donate/
    lidarr  | 
    lidarr  | ───────────────────────────────────────
    lidarr  | GID/UID
    lidarr  | ───────────────────────────────────────
    lidarr  | 
    lidarr  | User UID:    1000
    lidarr  | User GID:    1000
    lidarr  | ───────────────────────────────────────
    lidarr  | Linuxserver.io version: 2.12.4.4658-ls50
    lidarr  | Build-date: 2025-08-20T02:50:40+00:00
    lidarr  | ───────────────────────────────────────
    lidarr  |     
    lidarr  | [custom-init] No custom files found, skipping...
    lidarr  | [Info] Bootstrap: Starting Lidarr - /app/lidarr/bin/Lidarr - Version 2.12.4.4658 
    lidarr  | [Info] AppFolderInfo: Data directory is being overridden to [/config] 
    lidarr  | [Debug] Bootstrap: Console selected 
    lidarr  | [Info] AppFolderInfo: Data directory is being overridden to [/config] 
    lidarr  | [Info] AppFolderInfo: Data directory is being overridden to [/config] 
    lidarr  | [Warn] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: No XML encryptor configured. Key {bff9bf8a-f5db-4092-9ada-c55e886ac294}
    

  • Make a docker-compose.yml file and paste this into it:

    services:
      lidarr:
        container_name: lidarr
        hostname: lidarr
    ### Use custom docker network
        #networks:
        #  - CustomNetworkName
        ports:
          - 8686:8686
        image: lscr.io/linuxserver/lidarr:arm64v8-latest
        restart: unless-stopped
        volumes:
          - /path/to/lidarr/config:/config
          - /path/to/music:/music #optional
          - /path/to/downloads:/downloads #optional
        environment:
          - PGID=1000
          - PUID=1000
        healthcheck:
          test: curl --fail localhost:8686 || exit 1
          interval: 60s
          retries: 5
          start_period: 300s
          timeout: 2s
    

    This should work for you, just change the volume mounts so that they associate with your setup and run sudo docker compose up -d to start the container, sudo docker compose down to bring it down.

    LSIO documentation describes the arm64v8-latest tag for their image.












  • This really isn’t viable as WireGuard clients are just that, single device per client connection, what if someone started watching/listening content on their phone then all of sudden wanted to switch over to their TV or streaming device without having to go through a lot of hoops?

    I opted to reverse proxy Jellyfin with Traefik however have fail2ban setup blocking every IP and only whitelisting the known users, added bonus of hiding Jellyfin’s default login form and required Keycloak for SSO.







  • Okay so going at it again, i think i now understand the reason for the Docker label now, here is my current docker-compose.yml i made some tweaks to the one from your github but i can’t seem to get a log file to generate.

    I suspected it was a permissions issue on the volume mount so i ran chmod 777 on the ./config/csp directory but still wont get a log file.

    Volume directory permissions:

    user@debian:~/compose$ ls config/ | grep csp; ls config/csp/; ls config/csp/logs/
    drwxrwxrwx  3 user user 4096 Aug  9 09:11 csp
    total 12
    drwxrwxrwx  3 user user 4096 Aug  9 09:11 .
    drwxr-xr-x 44 user user 4096 Aug  8 16:41 ..
    drwxrwxrwx  2 user user 4096 Aug  9 09:04 logs
    total 8
    drwxrwxrwx 2 user user 4096 Aug  9 09:04 .
    drwxrwxrwx 3 user user 4096 Aug  9 09:11 ..
    

    docker-compose.yml:

      csp-report:
        image: mhzawadi/csp-report
        networks:
          main:
            ipv4_address: 172.18.0.38
        #ports:
         # - "8432:8080"
        ports:
          - target: 8080
            published: 8432
            mode: host
        container_name: csp-report
        environment:
          - TZ=America/Vancouver
        labels:
          - "csp_report.url=192.168.1.199:3000"
        volumes:
          - ./config/csp/logs:/var/www/html/logs
    

    Logs from the docker container:

    user@debian:~/compose$ sudo docker compose up -d csp-report --force-recreate; sudo docker logs csp-report -f
    WARN[0000] The "POSTGRES_DB" variable is not set. Defaulting to a blank string. 
    [+] Running 1/1
      Container csp-report  Started                                                                                                             0.5s 
    /config/start.sh: Launching Unit daemon to perform initial configuration...
    2025/08/09 16:21:18 [info] 12#12 unit 1.34.1 started
    2025/08/09 16:21:18 [info] 14#14 discovery started
    BusyBox v1.37.0 (2025-08-05 16:42:11 UTC) multi-call binary.
    
    Usage: seq [-w] [-s SEP] [FIRST [INC]] LAST
    
    Print numbers from FIRST to LAST, in steps of INC.
    FIRST, INC default to 1.
    
            -w      Pad with leading zeros
            -s SEP  String separator
    2025/08/09 16:21:18 [notice] 14#14 module: php 8.4.2 "/usr/lib/unit/modules/php84.unit.so"
    2025/08/09 16:21:18 [info] 13#13 controller started
    2025/08/09 16:21:18 [notice] 13#13 process 14 exited with code 0
    2025/08/09 16:21:18 [info] 18#18 router started
    2025/08/09 16:21:18 [info] 18#18 OpenSSL 3.3.4 1 Jul 2025, 30300040
    {
            "certificates": {},
            "config": {
                    "listeners": {},
                    "routes": [],
                    "applications": {}
            },
    
            "status": {
                    "modules": {
                            "php": {
                                    "version": "8.4.2",
                                    "lib": "/usr/lib/unit/modules/php84.unit.so"
                            }
                    },
    
                    "connections": {
                            "accepted": 0,
                            "active": 0,
                            "idle": 0,
                            "closed": 0
                    },
    
                    "requests": {
                            "total": 0
                    },
    
                    "applications": {}
            }
    }
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    2025/08/09 16:21:18 [info] 20#20 "csp_report" prototype started
    2025/08/09 16:21:18 [info] 21#21 "csp_report" application started
    {
            "success": "Reconfiguration done."
    }
    100   413  100    43  100   370   2808  24162 --:--:-- --:--:-- --:--:-- 27533
    /config/start.sh: Stopping Unit daemon after initial configuration...
    2025/08/09 16:21:18 [notice] 13#13 process 17 exited with code 0
    2025/08/09 16:21:18 [notice] 20#20 app process 21 exited with code 0
    2025/08/09 16:21:18 [alert] 20#20 sendmsg(13, -1, -1, 2) failed (32: Broken pipe)
    2025/08/09 16:21:18 [notice] 13#13 process 18 exited with code 0
    2025/08/09 16:21:18 [notice] 13#13 process 20 exited with code 0
    BusyBox v1.37.0 (2025-08-05 16:42:11 UTC) multi-call binary.
    
    Usage: seq [-w] [-s SEP] [FIRST [INC]] LAST
    
    Print numbers from FIRST to LAST, in steps of INC.
    FIRST, INC default to 1.
    
    
    /config/start.sh: Unit initial configuration complete; ready for start up...
    
            -w      Pad with leading zeros
            -s SEP  String separator
    2025/08/09 16:21:18 [info] 1#1 unit 1.34.1 started
    2025/08/09 16:21:18 [info] 31#31 discovery started
    2025/08/09 16:21:18 [notice] 31#31 module: php 8.4.2 "/usr/lib/unit/modules/php84.unit.so"
    2025/08/09 16:21:18 [info] 1#1 controller started
    2025/08/09 16:21:18 [notice] 1#1 process 31 exited with code 0
    2025/08/09 16:21:18 [info] 33#33 router started
    2025/08/09 16:21:18 [info] 33#33 OpenSSL 3.3.4 1 Jul 2025, 30300040
    2025/08/09 16:21:18 [info] 34#34 "csp_report" prototype started
    2025/08/09 16:21:18 [info] 35#35 "csp_report" application started
    127.0.0.1 - - [09/Aug/2025:16:21:23 +0000] "POST / HTTP/1.1" 200 7 "-" "curl/8.12.1"