39 Commits

Author SHA1 Message Date
Christian Benincasa
22e1467c40 chore: more changes and improvements around tunarr versioning 2026-01-05 20:47:50 -05:00
Christian Benincasa
bb81409493 fix: search for arch-specific meilisearch binary
Also fixes issue where multiple meilisearch binaries would be packaged
in the Docker container if they were present on the building machine.
Ensures that the proper platform/arch specific meilisearch binary is the
one that is linked in Docker containers.

Fixes #1561
2026-01-04 08:32:25 -05:00
Christian Benincasa
44c02bfef6 fix: link meilisearch binary in Dockerfile 2025-09-16 10:38:52 -04:00
Christian Benincasa
37c6708919 chore: fix docker build
Release-As: 0.22.0
2025-09-04 21:49:41 -04:00
Avery
2e21fa86a3 Copy openapi docs to container (#1340) 2025-08-21 20:06:24 +00:00
Christian Benincasa
687f69317c chore: fix base docker image name 2025-07-24 17:13:02 -04:00
Christian Benincasa
d72201f96c chore: change base image to use ghcr and bump to ffmpeg 7.1.1 2025-07-24 14:12:23 -04:00
Christian Benincasa
d31919c1b0 fix: ensure build versions match between web and server 2025-07-02 15:28:31 -04:00
Christian Benincasa
b14f6386a3 refactor: simplify Dockerfile and begin using unified base image (#1247)
The unified based image provides all hardware acceleration methods, so
users will not have install specific hardware variants.

Hardware-specific images will be published for a short time in order to
provide warnings to existing users to migrate their install over to the
non-suffixed version.

Thank you to @jasongdove for his hard work on the base image!
2025-06-24 07:37:59 -04:00
Christian Benincasa
53369474ff chore: use general name for docker entrypointn for cross-arch 2025-03-03 17:37:10 -05:00
Christian Benincasa
c244692ac8 refactor: use exec_target Docker build arg for entrypoint 2025-03-03 14:54:35 -05:00
Christian Benincasa
7d246f4bd5 fix: fix ARM Docker builds; use the ARM executable artifact name 2025-03-03 14:27:31 -05:00
Christian Benincasa
5086ae3ce0 fix: run Docker ARM builds on an ARM machine (#1107)
If this doesn't work, we will have to add some additional commands to
ensure qemu libraries for building ARM images on x64 work as expected
2025-03-02 13:56:23 -05:00
Christian Benincasa
e803946d6f fix: remove Bun and rollback to Node 22.13.1 (#1095) 2025-02-15 22:43:59 -05:00
Christian Benincasa
066a538a5c feat: add support for older CPUs (pre-2013) on bun builds 2025-02-12 15:09:01 -05:00
Christian Benincasa
41f0cee40c fix: fix release builds for docker and simplify 2025-02-12 10:10:21 -05:00
Christian Benincasa
c9c3130d70 refactor: use bun for runtime and packaging (#1063) 2025-01-29 13:42:34 -05:00
Christian Benincasa
0e01e2a38d chore: change build process + update core deps (#1057)
* Updates Typescript to latest version
* Changes server Typescript config to actually emit JS files. We were
  already running a full tsc invocation against the server for
typechecking anyway... and we use tsx for fast dev iteration w/o
typechecking, so we may as well just emit the actual JS files so that we
can take advantage of thinks like decorator metadata (upcoming inversify
PR...)
* Updates better-sqlite version to latest
* Bumps node version requirement to 22 and codifies it in package.json
  engines
2025-01-19 13:15:44 -05:00
Christian Benincasa
893e31df63 chore: another attempt at fixing edge build versions 2024-12-18 21:38:14 -05:00
Christian Benincasa
40e5ac4c72 refactor: change entrypoint and default command for docker image (#938)
This will make it easier to run one-off commands against the Docker container
2024-12-03 13:34:36 -05:00
Christian Benincasa
4638c70c5a fix: mark 1900/udp as exposed in Dockerfile for UDP server (HDHR auto-discovery) 2024-10-09 12:53:08 -04:00
Christian Benincasa
3fd2d3cbc8 chore: fix ffprobe path in Docker image 2024-09-24 15:45:18 -04:00
Christian Benincasa
4111106a8d fix: make link to ffprobe in Docker image 2024-09-24 15:44:55 -04:00
Christian Benincasa
98b6e25abf Do not display tanstack router devtools in prod builds (#570) 2024-06-25 15:57:06 -04:00
Christian Benincasa
6a96fb6237 Docker build stability improvements 2024-06-25 07:27:15 -04:00
Christian Benincasa
67d32d5bfa Use short git SHA in edge build versions 2024-06-17 16:15:57 -04:00
Christian Benincasa
fbb73efde0 Improve 'first run' and 'legacy migration' handling / logic. Fixes #474 (#476)
The new logic depends on a new boolean in the settings.json file. If
Tunarr detects that the settings.json file did not exist at initial
startup, it will set 'freshSettings' to true. On subsequent runs, it
will explicitly set this to 'false'. This bit is used to determine
whether a legacy migration should be attempted.

This new logic allows for the Tunarr database _directory_ to exist at
startup (a requirement for bind mounting with containers) but still be
able to determine if this is a 'first run'.

Also includes:
* Attaching className to child loggers, for additional logging context
  in production env
* Logging improvement in the legacy migrator to print actual errors
* waitAfterEachMs option in asyncPool
* support for background fixer tasks to not delay server startup too
  long
2024-06-04 07:23:46 -04:00
Christian Benincasa
1256a6ef53 Consolidate Dockerfiles into one parameterized by base image tag 2024-04-25 10:30:19 -04:00
Christian Benincasa
3b60a606c4 Basic Plex library loading. Prepare for merge into mainline branch 2023-11-17 13:28:09 -05:00
vexorian
542fa93b5b Make ffmpeg 4.3 the default in docker 2021-03-21 18:11:18 -04:00
vexorian
a24ce52f41 Nexe cache = Improve build times. 2020-08-30 10:58:04 -04:00
vexorian
2efe1c0f48 Improve Dockerfiles, but the build is slower regardless of caching, because nexe is hideously limited, we really need to find a better way to package these things 2020-08-16 21:47:26 -04:00
vexorian
8e9d9e9a11 nexe instead of pkg 2020-07-28 15:40:57 -04:00
vexorian
f9dd2af4d4 Flex time slots. Av1 support in ffmpeg provided by Dockerfile. Channel cache. Async guide writer. 2020-07-25 16:41:04 -04:00
vexorian
94aa908e0b UI and config for normalization changes. Audio Volume Boost. Error streams.
Various fixes. Fix bug where normalize codecs logic to pick when to transcode was the reverse of what we wanted. Beep and white noise are less loud, which prevent issues with ac3 encoder. Channel Icon Overlay doesn't appear during error screen.
2020-06-27 17:36:38 -04:00
vexorian
1115b2dd21 Reorder Dockerfile commands to take better advantage of the Docker cache. 2020-06-20 13:26:38 -04:00
Jordan Koehn
0fe29e7598 Handle stream stream concatination using ffmpeg concat demuxer (ffmpeg 4.2+ required).
Change docker container to use alpine linux, comes with ffmpeg 4.2+ easier.
Encode commercials to be same video codec as programs when channel icons enabled. Resolution/framerate could still be problematic.
2020-06-20 13:26:37 -04:00
Austin Tinius
6d22a72794 Implementing changes from gitlab Merge requests 2020-05-14 09:41:34 -07:00
Dan Ferguson
681ab5f6c6 alpha v4 2020-04-23 16:11:40 -04:00