autobrr / omegabrr

Omegabrr transforms monitored shows, movies, books and music from arrs into autobrr filters. It also supports adding titles from custom lists to autobrr filters.
https://autobrr.com
MIT License
127 stars 11 forks source link

feat: add distroless docker builds #84

Closed s0up4200 closed 1 week ago

s0up4200 commented 4 months ago

Currently running it with the nobody user and everything works as expected.

services:
  omegabrr:
    container_name: omegabrr
    image: ghcr.io/autobrr/omegabrr-distroless:pr-84
    runtime: runsc
    user: nobody
    read_only: true
    security_opt:
      - no-new-privileges:true
    cap_drop:
      - ALL
    environment:
      - TZ=UTC
    volumes:
      - /omegabrr:/config
    restart: unless-stopped
    ports:
      - 127.0.0.1:7441:7441
    extra_hosts:
      - "host.docker.internal:host-gateway"
    networks:
      - stack
ls -la .docker/
drwx------   2 nobody nogroup 4.0K Apr 10 08:36 omegabrr
sudo ls -la omegabrr/
-rwx------  1 nobody nogroup 2154 Apr  8 20:03 config.yaml
2024-04-10T20:07:56Z INF starting omegabrr: pr-84
2024-04-10T20:07:56Z INF running on schedule: 0 */2 * * *
2024-04-10T20:07:56Z INF starting scheduler
2024-04-10T20:07:56Z INF init jobs
2024-04-10T20:07:58Z INF job successfully added: process-filters
2024-04-10T20:07:58Z DBG sleeping 15 seconds before running...
2024-04-10T20:08:13Z DBG gathering titles... client=radarr type=radarr
2024-04-10T20:08:16Z DBG found 3 movies to process client=radarr type=radarr
2024-04-10T20:08:16Z DBG from a total of 3 movies we found 2 monitored and created 2 release titles client=radarr type=radarr
2024-04-10T20:08:16Z DBG got 435 filter titles client=radarr type=radarr
2024-04-10T20:08:16Z TRC Movie,Another?Movie client=radarr type=radarr
2024-04-10T20:08:16Z DBG updating filter: 39 client=radarr type=radarr
2024-04-10T20:08:16Z TRC update filter response: HTTP/1.1 204 No Content
Content-Length: 0
Date: Wed, 10 Apr 2024 20:08:16 GMT
Vary: Origin

2024-04-10T20:08:16Z DBG successfully updated filter: 39 client=radarr type=radarr
2024-04-10T20:08:24Z INF Run complete.