diff --git a/README.md b/README.md index ee9f84b..01bcdfb 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Create a directory for OmniArr and add this `docker-compose.yml`: ```yaml services: omniarr: - image: wonderalice/omniarr:1.0 + image: wonderalice/omniarr:1.1 container_name: omniarr restart: unless-stopped ports: @@ -37,7 +37,6 @@ services: environment: PORT: "8787" OMNIARR_DATA_DIR: /app/data - TMDB_BEARER_TOKEN: ${TMDB_BEARER_TOKEN:-} volumes: - ${OMNIARR_DATA_DIR:-./data}:/app/data ``` @@ -74,14 +73,14 @@ the mount loses that state when the container is replaced. ## Docker image tags -The first public release is available as: +The current release is available as: ```text -wonderalice/omniarr:1.0 +wonderalice/omniarr:1.1 wonderalice/omniarr:latest ``` -Pin `1.0` in production for repeatable updates. Use `latest` only when you want +Pin `1.1` in production for repeatable updates. Use `latest` only when you want Compose to follow the newest published image. ## Build and publish @@ -92,7 +91,7 @@ To publish a multi-architecture image to Docker Hub: docker login docker buildx build \ --platform linux/amd64,linux/arm64 \ - -t wonderalice/omniarr:1.0 \ + -t wonderalice/omniarr:1.1 \ -t wonderalice/omniarr:latest \ --push \ . @@ -128,8 +127,8 @@ OmniArr keeps critical state under `OMNIARR_DATA_DIR` (by default `/app/data/omniarr.secure.json`. Keep the data directory private, use a strong master password and provide the -TMDb token through an environment variable instead of committing it to source -control. +TMDb token through the Administration area. It is stored encrypted with the +rest of the application configuration. ## License diff --git a/docker-compose.yml b/docker-compose.yml index 4feb611..1372da0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ services: omniarr: - image: wonderalice/omniarr:1.0 + image: wonderalice/omniarr:1.1 # Para construir desde código fuente en su lugar, descomenta estas líneas: # build: # context: . @@ -12,6 +12,5 @@ services: environment: PORT: "8787" OMNIARR_DATA_DIR: /app/data - TMDB_BEARER_TOKEN: ${TMDB_BEARER_TOKEN:-} volumes: - ${OMNIARR_DATA_DIR:-./data}:/app/data diff --git a/server/lib/services.ts b/server/lib/services.ts index d257adb..ac1cda2 100644 --- a/server/lib/services.ts +++ b/server/lib/services.ts @@ -4486,7 +4486,7 @@ function daysAgoIso(days: number): string { } function getTmdbToken(config: AppConfig): string { - return process.env.TMDB_BEARER_TOKEN || config.tmdb.bearerToken; + return config.tmdb.bearerToken; } function getTvdbApiKey(config: AppConfig): string { diff --git a/src/App.tsx b/src/App.tsx index b12f100..621af01 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -3715,7 +3715,7 @@ function SettingsView(props: {